[Erp5-report] r45413 vincent - /erp5/trunk/products/ERP5Type/Core/SQLCache.py

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Apr 14 11:32:46 CEST 2011


Author: vincent
Date: Thu Apr 14 11:32:46 2011
New Revision: 45413

URL: http://svn.erp5.org?rev=45413&view=rev
Log:
Fix backward compatibility.

Added:
    erp5/trunk/products/ERP5Type/Core/SQLCache.py

Added: erp5/trunk/products/ERP5Type/Core/SQLCache.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Type/Core/SQLCache.py?rev=45413&view=auto
==============================================================================
--- erp5/trunk/products/ERP5Type/Core/SQLCache.py (added)
+++ erp5/trunk/products/ERP5Type/Core/SQLCache.py [utf8] Thu Apr 14 11:32:46 2011
@@ -0,0 +1,5 @@
+# Simple, stupid backward compatibility with existing persistent instances.
+# Makes it possible to upgrade erp5_core on old sites (otherwise, saving to
+# portal_trash fails).
+from Products.ERP5Type.XMLObject import XMLObject as SQLCache
+



More information about the Erp5-report mailing list