[Zope-dev] 2.15 Breaking createInObjectManager
Jason Spisak
444@hiretechs.com
Mon, 20 Mar 2000 12:17:45 -0500
This code worked fine before I upgarded to 2.1.5.
<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)
Ugh.
All my best
--
Jason Spisak
444@hiretechs.com