[CMF-checkins] SVN: CMF/branches/1.6/ Forward-port fix for issue #308.

Tres Seaver tseaver at palladion.com
Thu May 18 11:55:58 EDT 2006


Log message for revision 68176:
  Forward-port fix for issue #308.

Changed:
  U   CMF/branches/1.6/CHANGES.txt
  U   CMF/branches/1.6/DCWorkflow/DCWorkflow.py

-=-
Modified: CMF/branches/1.6/CHANGES.txt
===================================================================
--- CMF/branches/1.6/CHANGES.txt	2006-05-18 15:51:51 UTC (rev 68175)
+++ CMF/branches/1.6/CHANGES.txt	2006-05-18 15:55:57 UTC (rev 68176)
@@ -2,6 +2,9 @@
 
   Bug Fixes
 
+    - Forward-ported fix for DCWorkflow global actions missing IDs
+      (http://www.zope.org/Collectors/CMF/308).
+
     - CMFCore Expression: Fixed 'request' provided by expression contexts.
       'request' was not set correctly if 'object' is not specified.
 

Modified: CMF/branches/1.6/DCWorkflow/DCWorkflow.py
===================================================================
--- CMF/branches/1.6/DCWorkflow/DCWorkflow.py	2006-05-18 15:51:51 UTC (rev 68175)
+++ CMF/branches/1.6/DCWorkflow/DCWorkflow.py	2006-05-18 15:55:57 UTC (rev 68176)
@@ -244,7 +244,8 @@
                         fmt_data = TemplateDict()
                         fmt_data._push(info)
                     fmt_data._push({'count': len(searchres)})
-                    res.append((id, {'name': qdef.actbox_name % fmt_data,
+                    res.append((id, {'id': id,
+                                     'name': qdef.actbox_name % fmt_data,
                                      'url': qdef.actbox_url % fmt_data,
                                      'permissions': (),  # Predetermined.
                                      'category': qdef.actbox_category}))



More information about the CMF-checkins mailing list