[Product-Developers] Re: Need Help with Remember Workflow

Mark Phillips mark at phillipsmarketing.biz
Mon Jan 7 15:28:21 UTC 2008


Before I add ahsmember, it the workflow works correctly. After adding
ahsmember, I get an error message:

This site encountered an error trying to fulfill your request. The
errors were: 

Error Type 
        ValueError
Error Value 
        Disallowed subobject type: Member
Request made at 
        2008/01/07 07:24:16.139 US/Pacific
        
>From the log:

------
2008-01-07T07:24:15 ERROR Zope.SiteErrorLog
http://hammerhead:8081/ahs/newspaper/portal_memberdata/portal_factory/Member/member.2008-01-07.4399138320/reg_form
Traceback (innermost last):
  Module ZPublisher.Publish, line 115, in publish
  Module ZPublisher.mapply, line 88, in mapply
  Module ZPublisher.Publish, line 41, in call_object
  Module Products.CMFPlone.FactoryTool, line 369, in __call__
  Module ZPublisher.mapply, line 88, in mapply
  Module ZPublisher.Publish, line 41, in call_object
  Module Products.CMFFormController.FSControllerPageTemplate, line 90,
in __call__
  Module Products.CMFFormController.BaseControllerPageTemplate, line 28,
in _call
  Module Products.CMFFormController.ControllerBase, line 244, in getNext
  Module Products.CMFFormController.Actions.TraverseTo, line 38, in
__call__
  Module ZPublisher.mapply, line 88, in mapply
  Module ZPublisher.Publish, line 41, in call_object
  Module Products.CMFFormController.FSControllerPythonScript, line 104,
in __call__
  Module Products.CMFFormController.Script, line 145, in __call__
  Module Products.CMFCore.FSPythonScript, line 108, in __call__
  Module Shared.DC.Scripts.Bindings, line 311, in __call__
  Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
  Module Products.CMFCore.FSPythonScript, line 164, in _exec
  Module None, line 4, in do_register
   - <FSControllerPythonScript at /ahs/newspaper/do_register used
for /ahs/newspaper/portal_memberdata/portal_factory/Member/member.2008-01-07.4399138320>
   - Line 4
  Module Products.CMFPlone.FactoryTool, line 254, in doCreate
  Module Products.CMFCore.PortalFolder, line 406, in invokeFactory
ValueError: Disallowed subobject type: Member

Interesting, I see this messages right before the error:
------
2008-01-07T07:23:48 INFO IsSelectedValidator The value=other
------
2008-01-07T07:23:48 INFO Archetypes
ESC[00mESC[01;32mProducts/Archetypes/Field.py[500]:writeable
ESC[00mTried to update AHSMember:title but field is not writeable.

------
2008-01-07T07:23:48 INFO Archetypes Tried to update
AHSMember:review_state but field is not writeable.

------
2008-01-07T07:23:48 INFO Archetypes Tried to update AHSMember:listed but
field is not writeable.

------
2008-01-07T07:23:48 INFO IsSelectedValidator The value=other
------
2008-01-07T07:23:59 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
------

Could any of these be causing this problem?

Mark



On Mon, 2008-01-07 at 10:12 -0500, Hedley Roos wrote:
> What happens if you try to add a Member (not AHSMember) through User
> Management now? Is its workflow also broken?
> 
> _______________________________________________
> Product-Developers mailing list
> Product-Developers at lists.plone.org
> http://lists.plone.org/mailman/listinfo/product-developers
> 
> 




More information about the Product-Developers mailing list