[CMF-checkins] CVS: Products/DCWorkflow - DCWorkflow.py:1.38

Jens Vagelpohl jens at dataflake.org
Wed Mar 16 06:09:48 EST 2005


Update of /cvs-repository/Products/DCWorkflow
In directory cvs.zope.org:/tmp/cvs-serv25098/DCWorkflow

Modified Files:
	DCWorkflow.py 
Log Message:
- CMFCore.CachingPolicyManager and CMFCore.ActionInformation: The names
  available to TALES expressions throughout the CMF showed some
  inconsistencies. To prevent confusion the names "content" and
  "content_url" that were used for Cache Policy Manager policies as well
  as the special ActionInformation.oai class are now deprecated and will
  be removed in CMF 1.7. The canonical names to be used are "object" and
  "object_url", which matches all other CMF expression contexts with
  DCWorkflow being the only exception due to its non-CMF roots.
  (http://www.zope.org/Collectors/CMF/328)


=== Products/DCWorkflow/DCWorkflow.py 1.37 => 1.38 ===
--- Products/DCWorkflow/DCWorkflow.py:1.37	Tue Aug 24 17:12:58 2004
+++ Products/DCWorkflow/DCWorkflow.py	Wed Mar 16 06:09:47 2005
@@ -181,10 +181,10 @@
         Allows this workflow to
         include actions to be displayed in the actions box.
         Called only when this workflow is applicable to
-        info.content.
+        info.object.
         Returns the actions to be displayed to the user.
         '''
-        ob = info.content
+        ob = info.object
         sdef = self._getWorkflowStateOf(ob)
         if sdef is None:
             return None



More information about the CMF-checkins mailing list