[Zope3-checkins] CVS: Zope3/src/zope/app/workflow - instance.py:1.9

Stephan Richter srichter at cosmos.phy.tufts.edu
Mon Dec 15 08:33:47 EST 2003


Update of /cvs-repository/Zope3/src/zope/app/workflow
In directory cvs.zope.org:/tmp/cvs-serv8615/src/zope/app/workflow

Modified Files:
	instance.py 
Log Message:
My apologies for breaking the tests. I checked in late at night, that says 
all. I should know better.

But this surfaced a real problem with the workflow API that I need to 
address later; see the XXX comments in the diff.


=== Zope3/src/zope/app/workflow/instance.py 1.8 => 1.9 ===
--- Zope3/src/zope/app/workflow/instance.py:1.8	Sun Sep 21 13:33:53 2003
+++ Zope3/src/zope/app/workflow/instance.py	Mon Dec 15 08:33:17 2003
@@ -67,6 +67,10 @@
 
     def __init__(self, context):
         self.context = context
+        # XXX: Band-aid, so that the process instance can have a valid
+        # path. Eventually the pi should have context as parent directly. 
+        self.__parent__ = context
+        self.__name__ = "processInstances"
         annotations = getAdapter(context, IAnnotations)
         wfdata = annotations.get(WFKey)
         if not wfdata:




More information about the Zope3-Checkins mailing list