Commit 5f889698 authored by Łukasz Nowak's avatar Łukasz Nowak

- describe problem and propose solution


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@34278 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent ff06b3ff
...@@ -573,6 +573,19 @@ class WizardTool(BaseTool): ...@@ -573,6 +573,19 @@ class WizardTool(BaseTool):
install_customer_bt5=True, install_customer_bt5=True,
use_super_manager=True): use_super_manager=True):
""" Install or update BT5 files which we get from remote server. """ """ 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 global installation_status
if use_super_manager: if use_super_manager:
# set current security manager to owner of site # set current security manager to owner of site
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment