Commit bdd43f31 authored by Rafael Monnerat's avatar Rafael Monnerat

Configurator UI Test: Remove useless code and do not re-setup conversion server

parent 44d0dfa9
...@@ -89,9 +89,6 @@ configuration_dict = {\n ...@@ -89,9 +89,6 @@ configuration_dict = {\n
"business_configuration_id": "STANDARD_CONFIGURATOR_TEST",\n "business_configuration_id": "STANDARD_CONFIGURATOR_TEST",\n
\'bt_repository_list\':[\'http://www.erp5.org/dists/snapshot/bt5/\'],\n \'bt_repository_list\':[\'http://www.erp5.org/dists/snapshot/bt5/\'],\n
\n \n
# More configurations\n
"oood_hostname": "localhost",\n
"oood_port": 8008,\n
}\n }\n
\n \n
return configuration_dict\n return configuration_dict\n
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>Script_magic</string> </key>
<value> <int>3</int> </value>
</item>
<item>
<key> <string>_bind_names</string> </key>
<value>
<object>
<klass>
<global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/>
</klass>
<tuple/>
<state>
<dictionary>
<item>
<key> <string>_asgns</string> </key>
<value>
<dictionary>
<item>
<key> <string>name_container</string> </key>
<value> <string>container</string> </value>
</item>
<item>
<key> <string>name_context</string> </key>
<value> <string>context</string> </value>
</item>
<item>
<key> <string>name_m_self</string> </key>
<value> <string>script</string> </value>
</item>
<item>
<key> <string>name_subpath</string> </key>
<value> <string>traverse_subpath</string> </value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key> <string>_body</string> </key>
<value> <string>"""\n
Return the configuration for use into\n
preferences.\n
"""\n
return context.ExpressZuite_getExpressConfigurationInfo()\n
</string> </value>
</item>
<item>
<key> <string>_params</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>Zuite_getConversionServerDict</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
...@@ -69,8 +69,11 @@ default_site_preference.setPreferredHtmlStyleUnsavedFormWarning(False)\n ...@@ -69,8 +69,11 @@ default_site_preference.setPreferredHtmlStyleUnsavedFormWarning(False)\n
default_site_preference.setPreferredHtmlStyleDevelopperMode(None)\n default_site_preference.setPreferredHtmlStyleDevelopperMode(None)\n
default_site_preference.setPreferredHtmlStyleAccessTab(\'1\')\n default_site_preference.setPreferredHtmlStyleAccessTab(\'1\')\n
\n \n
default_site_preference.setPreferredOoodocServerAddress(configuration_info.get("oood_hostname",\'localhost\'))\n previous_conversion_server_address = portal.portal_preferences.getPreferredOoodocServerAddress()\n
default_site_preference.setPreferredOoodocServerPortNumber(configuration_info.get("oood_port",8008))\n default_site_preference.setPreferredOoodocServerAddress(previous_conversion_server_address)\n
\n
previous_conversion_port = portal.portal_preferences.getPreferredOoodocServerPortNumber()\n
default_site_preference.setPreferredOoodocServerPortNumber(previous_conversion_port)\n
\n \n
if default_site_preference.getPreferenceState() != \'global\':\n if default_site_preference.getPreferenceState() != \'global\':\n
default_site_preference.enable()\n default_site_preference.enable()\n
......
2011-08-16 rafael
* Remove useless code and do not re-setup conversion server.
2011-04-13 lucas 2011-04-13 lucas
* The 'Hello' text is not displayed anymore. * The 'Hello' text is not displayed anymore.
......
669 672
\ No newline at end of file \ No newline at end of file
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