Hi Mark,

Just picking up on Hedley's comment re. using ArchGenXML (AGX). Here's a
blog post+presentation[1] from Matt Bowen re. using Remember in AGX.

HTH,
Tim

[1] http://m.odul.us/2007/09/04/presentation-plones-remember

On Mon, 2008-01-07 at 09:46 -0700, Mark Phillips wrote:

> I tried the following, and it still does not work, and I get similar
> error messages. (I looked at one of my older products to see about
> __implements__, and read through the archetypes developer manual)
> 
> 1. Edited my ahsmember class to be:
> 
> class AHSMember(BaseMember):
>     """A member with AHS information required."""
>     __implements__ = (getattr(BaseMember,'__implements__',()),)
>     archetype_name = portal_type = meta_type = DEFAULT_MEMBER_TYPE
>     schema = base_schema + ahsmember_schema
>     _at_rename_after_creation = True
> 
> 2. Deleted/reinstalled plone site. 
> 
> 3. Added new ahsmember product. 
> 
> 4. Add a new member from site-setup and from the join link. Both times,
> same result: The member is automatically added to the site (should be
> member_approval_workflow), and no password is sent via email.
> 
> The logged messages:
> 
> 2008-01-07T08:35:28 INFO CMFFormController You have triggered the form
> controller action "createMember" using a GET REQUEST.  This is a
> potential security hazard.  In Plone 3.0 this will FAIL unless you
> explicitly enable your form to support GET requests in the ZMI (or using
> the .metadata file). 
> 30
> ------
> 2008-01-07T08:36:18 INFO IsSelectedValidator The value=other
> ------
> 2008-01-07T08:36:18 INFO Archetypes
> ESC[00mESC[01;32mProducts/Archetypes/Field.py[500]:writeable
> ESC[00mTried to update AHSMember:title but field is not writeable.
> 
> ------
> 2008-01-07T08:36:18 INFO Archetypes
> ESC[00mESC[01;32mProducts/Archetypes/Field.py[512]:writeable
> ESC[00mUser None tried to update AHSMember:roles but doesn't have enough
> permissions.
> 
> ------
> 2008-01-07T08:36:18 INFO Archetypes User None tried to update
> AHSMember:groups but doesn't have enough permissions.
> 
> ------
> 2008-01-07T08:36:18 INFO Archetypes User None tried to update
> AHSMember:domains but doesn't have enough permissions.
> 
> ------
> 2008-01-07T08:36:18 INFO Archetypes
> ESC[00mESC[01;32mProducts/Archetypes/Field.py[500]:writeable
> ESC[00mTried to update AHSMember:review_state but field is not
> writeable.
> 
> ------
> 2008-01-07T08:36:18 INFO Archetypes Tried to update AHSMember:listed but
> field is not writeable.
> 
> ------
> 2008-01-07T08:36:18 INFO IsSelectedValidator The value=other
> 
> This is frustrating! I wish I knew how to debug this problem.
> 
> Thanks!
> 
> Mark
> 
> On Mon, 2008-01-07 at 10:42 -0500, Hedley Roos wrote:
> > Seems your ahsmember class is missing something. I'm guessing it needs
> > an __implements__ declaration in the class. I'll clean up one of my
> > products which does in fact work and attach it in my next post.
> > 
> > _______________________________________________
> > Product-Developers mailing list
> > [email protected]
> > http://lists.plone.org/mailman/listinfo/product-developers
> > 
> > 
> _______________________________________________
> Product-Developers mailing list
> [email protected]
> http://lists.plone.org/mailman/listinfo/product-developers
_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers

Reply via email to