[Erp5-report] r8106 - /erp5/trunk/products/ERP5/ERP5Site.py

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Jun 20 18:16:09 CEST 2006


Author: jerome
Date: Tue Jun 20 18:16:08 2006
New Revision: 8106

URL: http://svn.erp5.org?rev=8106&view=rev
Log:
pass the real product name to the factory dispatcher

Modified:
    erp5/trunk/products/ERP5/ERP5Site.py

Modified: erp5/trunk/products/ERP5/ERP5Site.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/ERP5Site.py?rev=8106&r1=8105&r2=8106&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/ERP5Site.py (original)
+++ erp5/trunk/products/ERP5/ERP5Site.py Tue Jun 20 18:16:08 2006
@@ -971,7 +971,7 @@
     # Add Default SQL connection
     if p.erp5_sql_connection_type == 'Z MySQL Database Connection':
       if not p.hasObject('erp5_sql_connection'):
-        addSQLConnection = p.manage_addProduct['ZSQLMethods'].manage_addZMySQLConnection
+        addSQLConnection = p.manage_addProduct['ZMySQLDA'].manage_addZMySQLConnection
         addSQLConnection('erp5_sql_connection', 'ERP5 SQL Server Connection', p.erp5_sql_connection_string)
     elif p.erp5_sql_connection_type == 'Z Gadfly':
       pass
@@ -979,7 +979,7 @@
     # Add Deferred SQL Connections
     if p.erp5_sql_deferred_connection_type == 'Z MySQL Deferred Database Connection':
       if not p.hasObject('erp5_sql_deferred_connection'):
-        addSQLConnection = p.manage_addProduct['ZSQLMethods'].manage_addZMySQLDeferredConnection
+        addSQLConnection = p.manage_addProduct['ZMySQLDDA'].manage_addZMySQLDeferredConnection
         addSQLConnection('erp5_sql_deferred_connection', 'ERP5 SQL Server Deferred Connection', p.erp5_sql_deferred_connection_string)
     elif p.erp5_sql_deferred_connection_type == 'Z Gadfly':
       pass
@@ -987,7 +987,7 @@
     # Add Activity SQL Connections
     if p.cmf_activity_sql_connection_type == 'Z MySQL Database Connection':
       if not p.hasObject('cmf_activity_sql_connection'):
-        addSQLConnection = p.manage_addProduct['ZSQLMethods'].manage_addZMySQLConnection
+        addSQLConnection = p.manage_addProduct['ZMySQLDA'].manage_addZMySQLConnection
         addSQLConnection('cmf_activity_sql_connection', 'CMF Activity SQL Server Connection', p.cmf_activity_sql_connection_string)
     elif p.cmf_activity_sql_connection_type == 'Z Gadfly':
       pass




More information about the Erp5-report mailing list