Log message for revision 68175:
  Forward-ported fix for DCWorkflow global actions missing IDs.
  
  See http://www.zope.org/Collectors/CMF/308.
  

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

-=-
Modified: CMF/branches/1.5/CHANGES.txt
===================================================================
--- CMF/branches/1.5/CHANGES.txt        2006-05-18 15:31:27 UTC (rev 68174)
+++ CMF/branches/1.5/CHANGES.txt        2006-05-18 15:51:51 UTC (rev 68175)
@@ -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.5/DCWorkflow/DCWorkflow.py
===================================================================
--- CMF/branches/1.5/DCWorkflow/DCWorkflow.py   2006-05-18 15:31:27 UTC (rev 
68174)
+++ CMF/branches/1.5/DCWorkflow/DCWorkflow.py   2006-05-18 15:51:51 UTC (rev 
68175)
@@ -241,7 +241,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}))

_______________________________________________
CMF-checkins mailing list
[email protected]
http://mail.zope.org/mailman/listinfo/cmf-checkins

Reply via email to