Re: [Zope] zope-2.1.5 and zclass (again)
Vladimir, I just had this same thing happen, and bypassing the factory worked. I changed the calling method from calling "maClass_factory to myClass_addForm, and the add method worked fine. That seems very buggy to me. The traceback was posted onthe zope-dev list this morning. Here it is anyway: <dtml-with "WorkDayClass.createInObjectManager(REQUEST['id'], REQUEST)"> <dtml-call "propertysheets.WorkDay_properties.manage_changeProperties( work_date=REQUEST['date'], )"> <dtml-call reindex_object> <dtml-with> Now I get: Error Type: AttributeError Error Value: _getOb Troubleshooting Suggestions The URL may be incorrect. The parameters passed to this resource may be incorrect. A resource that this resource relies on may be encountering an error. For more detailed information about the error, please refer to the HTML source for this page. If the error persists please contact the site maintainer. Thank you for your patience. Traceback (innermost last): File /home/jason/Zope-2.1.3/lib/python/ZPublisher/Publish.py, line 214, in publish_module File /home/jason/Zope-2.1.3/lib/python/ZPublisher/Publish.py, line 179, in publish File /home/jason/Zope-2.1.3/lib/python/Zope/__init__.py, line 202, in zpublisher_exception_hook (Object: RoleManager) File /home/jason/Zope-2.1.3/lib/python/ZPublisher/Publish.py, line 165, in publish File /home/jason/Zope-2.1.3/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: WorkDayClass_smallAdd) File /home/jason/Zope-2.1.3/lib/python/ZPublisher/Publish.py, line 102, in call_object (Object: WorkDayClass_smallAdd) File /home/jason/Zope-2.1.3/lib/python/OFS/DTMLMethod.py, line 150, in __call__ (Object: WorkDayClass_smallAdd) File /home/jason/Zope-2.1.3/lib/python/DocumentTemplate/DT_String.py, line 502, in __call__ (Object: WorkDayClass_smallAdd) File /home/jason/Zope-2.1.3/lib/python/DocumentTemplate/DT_With.py, line 133, in render (Object: WorkDayClass.createInObjectManager(REQUEST['id'], REQUEST)) File /home/jason/Zope-2.1.3/lib/python/DocumentTemplate/DT_Util.py, line 335, in eval (Object: WorkDayClass.createInObjectManager(REQUEST['id'], REQUEST)) (Info: REQUEST) File <string>, line 0, in ? File /home/jason/Zope-2.1.3/lib/python/ZClasses/ZClass.py, line 461, in createInObjectManager (Object: WorkDayClass) AttributeError: (see above) All my best, -- Jason Spisak 444@hiretechs.com
participants (1)
-
Jason Spisak