Commit 970d1d19 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

enable the site preference when setting up the site.

otherwise installation fails if a business template contains OOo document in PathTemplateItem.
parent 12f304c5
......@@ -888,6 +888,8 @@ class ERP5TypeCommandLineTestCase(ERP5TypeTestCaseMixin):
self.getDefaultSitePreferenceId()]
preference._setPreferredOoodocServerAddress(conversion_dict['hostname'])
preference._setPreferredOoodocServerPortNumber(conversion_dict['port'])
if self.portal.portal_workflow.isTransitionPossible(preference, 'enable'):
preference.enable()
def _updateMemcachedConfiguration(self):
"""Update default memcached plugin configuration
......
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