[Erp5-report] r34278 luke - /erp5/trunk/products/ERP5Wizard/Tool/WizardTool.py

nobody at svn.erp5.org nobody at svn.erp5.org
Fri Apr 2 15:06:23 CEST 2010


Author: luke
Date: Fri Apr  2 15:06:22 2010
New Revision: 34278

URL: http://svn.erp5.org?rev=34278&view=rev
Log:
 - describe problem and propose solution

Modified:
    erp5/trunk/products/ERP5Wizard/Tool/WizardTool.py

Modified: erp5/trunk/products/ERP5Wizard/Tool/WizardTool.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Wizard/Tool/WizardTool.py?rev=34278&r1=34277&r2=34278&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Wizard/Tool/WizardTool.py [utf8] (original)
+++ erp5/trunk/products/ERP5Wizard/Tool/WizardTool.py [utf8] Fri Apr  2 15:06:22 2010
@@ -573,6 +573,19 @@
                                 install_customer_bt5=True,
                                 use_super_manager=True):
     """ Install or update BT5 files which we get from remote server. """
+    # XXX-Luke: This methods makes very long transaction:
+    #  * download business templates
+    #  * install business templates
+    #  * run after script
+    # It leads in real world to never ending process, as any other activity
+    # in asynchronous system can lead to conflict error and transaction
+    # restart, and again...forever.
+    #
+    # To solve:
+    #  * use activity system
+    #  * download, install and run after script in activities
+    #  * use proper tags to have sequence
+    #  * expose tag initialERP5Setup
     global installation_status
     if use_super_manager:
       # set current security manager to owner of site




More information about the Erp5-report mailing list