[Erp5-report] r28563 - in /erp5/trunk/products/ERP5/bootstrap/erp5_core: SkinTemplateItem/p...

nobody at svn.erp5.org nobody at svn.erp5.org
Mon Aug 24 09:48:52 CEST 2009


Author: seb
Date: Mon Aug 24 09:48:52 2009
New Revision: 28563

URL: http://svn.erp5.org?rev=28563&view=rev
Log:
2009-08-24 Seb
* Do not call immediateReindexObject after pasting

Modified:
    erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Folder_paste.xml
    erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision

Modified: erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Folder_paste.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Folder_paste.xml?rev=28563&r1=28562&r2=28563&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Folder_paste.xml [utf8] (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Folder_paste.xml [utf8] Mon Aug 24 09:48:52 2009
@@ -78,10 +78,7 @@
     return REQUEST.RESPONSE.redirect(context.absolute_url() + \'/\' + form_id + \'?portal_status_message=%s\' % msg)\n
   else:\n
     new_id_list = [i[\'new_id\'] for i in new_item_list]\n
-    for my_id in new_id_list:\n
-      context[my_id].flushActivity(invoke=0, method_id=\'immediateReindexObject\')\n
-      context[my_id].recursiveImmediateReindexObject()\n
-    msg = Base_translateString(\'Item(s) pasted.\')\n
+    msg = Base_translateString(\'Item(s) paste in progress.\')\n
     return REQUEST.RESPONSE.redirect(context.absolute_url() + \'/\' + form_id + \'?portal_status_message=%s\' % msg)\n
 elif context.cb_dataValid and error_message!=\'\':\n
   return REQUEST.RESPONSE.redirect(context.absolute_url() + \'/\' + form_id + \'?portal_status_message=%s\' % error_message)\n
@@ -145,7 +142,6 @@
                             <string>msg</string>
                             <string>i</string>
                             <string>new_id_list</string>
-                            <string>my_id</string>
                           </tuple>
                         </value>
                     </item>

Modified: erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision?rev=28563&r1=28562&r2=28563&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision [utf8] (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision [utf8] Mon Aug 24 09:48:52 2009
@@ -1,1 +1,1 @@
-1282
+1283




More information about the Erp5-report mailing list