Commit 117f1c07 authored by Yoshinori Okuji's avatar Yoshinori Okuji

Clear all caches after installing everything.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@21075 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c1055541
...@@ -386,9 +386,11 @@ class WizardTool(BaseTool): ...@@ -386,9 +386,11 @@ class WizardTool(BaseTool):
if use_super_manager: if use_super_manager:
# set current security manager to owner of site # set current security manager to owner of site
_setSuperSecurityManager(self.getPortalObject()) _setSuperSecurityManager(self.getPortalObject())
portal = self.getPortalObject()
bt5_files = server_response.get("filedata", []) bt5_files = server_response.get("filedata", [])
bt5_filenames = server_response["server_buffer"].get("filenames", []) bt5_filenames = server_response["server_buffer"].get("filenames", [])
portal_templates = getToolByName(self.getPortalObject(), 'portal_templates') portal_templates = getToolByName(portal, 'portal_templates')
counter = 0 counter = 0
LOG("Wizard", INFO, LOG("Wizard", INFO,
"Starting installation for %s" %' '.join(bt5_filenames)) "Starting installation for %s" %' '.join(bt5_filenames))
...@@ -431,6 +433,8 @@ class WizardTool(BaseTool): ...@@ -431,6 +433,8 @@ class WizardTool(BaseTool):
1) 1)
self.setExpressConfigurationPreference('preferred_express_after_setup_script_id', self.setExpressConfigurationPreference('preferred_express_after_setup_script_id',
bt5_after_setup_script_id) bt5_after_setup_script_id)
# Make sure that the site status is reloaded.
portal.portal_caches.clearAllCache()
LOG("Wizard", INFO, LOG("Wizard", INFO,
"Completed installation for %s" %' '.join(bt5_filenames)) "Completed installation for %s" %' '.join(bt5_filenames))
if use_super_manager: if use_super_manager:
......
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