[Erp5-report] r32032 nicolas - in /erp5/trunk/bt5/erp5_dms: WorkflowTemplateItem/portal_wor...

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Jan 27 16:37:30 CET 2010


Author: nicolas
Date: Wed Jan 27 16:37:29 2010
New Revision: 32032

URL: http://svn.erp5.org?rev=32032&view=rev
Log:
Small improvement on interaction for File, Image and PDF
* trig on wider scope (ContributionTool call _edit not edit)
* Call only once per transaction & and at the end of transaction to improve performances
reviewed by romain

Modified:
    erp5/trunk/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/document_interaction_workflow/interactions/Document_edit.xml
    erp5/trunk/bt5/erp5_dms/bt/revision

Modified: erp5/trunk/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/document_interaction_workflow/interactions/Document_edit.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/document_interaction_workflow/interactions/Document_edit.xml?rev=32032&r1=32031&r2=32032&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/document_interaction_workflow/interactions/Document_edit.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_dms/WorkflowTemplateItem/portal_workflow/document_interaction_workflow/interactions/Document_edit.xml [utf8] Wed Jan 27 16:37:29 2010
@@ -30,6 +30,12 @@
         <item>
             <key> <string>after_script_name</string> </key>
             <value>
+              <tuple/>
+            </value>
+        </item>
+        <item>
+            <key> <string>before_commit_script_name</string> </key>
+            <value>
               <list>
                 <string>updateLocalRoles</string>
               </list>
@@ -53,9 +59,13 @@
             <key> <string>method_id</string> </key>
             <value>
               <list>
-                <string>edit</string>
+                <string>_edit</string>
               </list>
             </value>
+        </item>
+        <item>
+            <key> <string>once_per_transaction</string> </key>
+            <value> <int>1</int> </value>
         </item>
         <item>
             <key> <string>portal_type_filter</string> </key>

Modified: erp5/trunk/bt5/erp5_dms/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_dms/bt/revision?rev=32032&r1=32031&r2=32032&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_dms/bt/revision [utf8] (original)
+++ erp5/trunk/bt5/erp5_dms/bt/revision [utf8] Wed Jan 27 16:37:29 2010
@@ -1,1 +1,1 @@
-1057
+1058




More information about the Erp5-report mailing list