[Zope3-dev] bug in workflow/stateful/instance.py ?
Markus Leist
ml_zope3_dev at ikom-online.de
Mon Mar 21 06:10:07 EST 2005
Hello,
without the following patch:
Index: /opt/ikom/Zope3/src/zope/app/workflow/stateful/instance.py
===================================================================
--- /opt/ikom/Zope3/src/zope/app/workflow/stateful/instance.py (revision 29607)
+++ /opt/ikom/Zope3/src/zope/app/workflow/stateful/instance.py (working copy)
@@ -181,6 +181,7 @@
if schema:
# create relevant-data
self._data = RelevantData(schema, clean_pd.schemaPermissions)
+ self._data.__parent__ = self
else:
self._data = None
# setup permission on data
there is an error
"object implementing ILocation found outside tree"
when pickling an object containing
WF *AND* WF-RelevantData.
I'm not sure if this patch is 100% correct.
Markus
More information about the Zope3-dev
mailing list