[CMF-checkins] CVS: CMF/CMFDefault - Document.py:1.62.2.1

Yvo Schubbe schubbe at web.de
Thu Dec 18 09:24:47 EST 2003


Update of /cvs-repository/CMF/CMFDefault
In directory cvs.zope.org:/tmp/cvs-serv16600/CMFDefault

Modified Files:
      Tag: yuppie-collector025-branch
	Document.py 
Log Message:
- removed WorkflowMethod wrapper of setFormat
This was the only wrapped MutableDublinCore method and caused an ugly second reindexObject() / notifyModified() call in the middle of  _editMetadata().


=== CMF/CMFDefault/Document.py 1.62 => 1.62.2.1 ===
--- CMF/CMFDefault/Document.py:1.62	Mon Dec 15 11:20:22 2003
+++ CMF/CMFDefault/Document.py	Thu Dec 18 09:24:47 2003
@@ -46,7 +46,7 @@
   , 'aliases'        : {'(Default)':'document_view',
                         'view':'document_view',
                         'gethtml':'source_html'}
-  , 'actions'        : ( { 'id'            : 'view' 
+  , 'actions'        : ( { 'id'            : 'view'
                          , 'name'          : 'View'
                          , 'action': 'string:${object_url}/document_view'
                          , 'permissions'   : (View,)
@@ -338,7 +338,6 @@
             self.text_format = 'plain'
         else:
             self.text_format = 'structured-text'
-    setFormat = WorkflowAction(setFormat)
 
     ## FTP handlers
     security.declareProtected(ModifyPortalContent, 'PUT')




More information about the CMF-checkins mailing list