Tutorial: SampleRemember is back! (plus: need help with one minor bug)
from
Brian Gershon
on Jul 26, 2007 01:46 PM
Remember'ers,
I noticed (much after the fact) that SampleRemember from our Tutorial
was missing. I retrieved it from our original SVN commit. There are
some other sample products - one in a branch, as well as the ploner
product. Maybe we can combine efforts.
tutorial is in https://svn.plone.org/svn/collective/remember/trunk/
docs/tutorial
sampleremember is in: https://svn.plone.org/svn/collective/
remember/trunk/examples
The product works well, but there is one minor error that shows up in
the log: "No workflow provides "review_state" information Member".
It doesn't break the product, but wondering what's missing.
I added some very basic unit tests to generate the error.
The tests now pass (turned out that "remember-setup-plugins.txt" was
needed in SampleRemember), but in a real Plone site, I still see the
error in the logs. Everything seems to work ok, but the error arises
upon instantiation of a new SampleRemember object (i.e. when you
click "join", before you see the edit form). This error does not
arise using the Member content-type that ships with Remember.
I've spent a fair amount of time debugging, and need some
reinforcements.
Thanks!
-Brian