[Erp5-report] r33378 daniele - /erp5/trunk/products/ERP5Type/patches/DA.py

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Mar 4 13:47:03 CET 2010


Author: daniele
Date: Thu Mar  4 13:47:02 2010
New Revision: 33378

URL: http://svn.erp5.org?rev=33378&view=rev
Log:
Move zsql methods of portal ids,
The transactionless connector doesn't use the archive system.

Modified:
    erp5/trunk/products/ERP5Type/patches/DA.py

Modified: erp5/trunk/products/ERP5Type/patches/DA.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Type/patches/DA.py?rev=33378&r1=33377&r2=33378&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Type/patches/DA.py [utf8] (original)
+++ erp5/trunk/products/ERP5Type/patches/DA.py [utf8] Thu Mar  4 13:47:02 2010
@@ -155,7 +155,10 @@
     # Connection id is retrieve from user preference
     if c is None:
       physical_path = self.getPhysicalPath()
-      if "portal_catalog" not in physical_path and 'cmf_activity' not in self.connection_id:
+      # XXX cleaner solution will be needed
+      if 'portal_catalog' not in physical_path and\
+         'cmf_activity' not in self.connection_id and\
+         'transactionless' not in self.connection_id:
         try:
           archive_id = self.portal_preferences.getPreferredArchive()
         except AttributeError:




More information about the Erp5-report mailing list