[Erp5-report] r30692 - /erp5/trunk/products/ERP5/Document/File.py

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Nov 17 15:37:26 CET 2009


Author: leonardo
Date: Tue Nov 17 15:37:26 2009
New Revision: 30692

URL: http://svn.erp5.org?rev=30692&view=rev
Log:
remove IContentish from Products.ERP5.Document.File.File and consequently all its derived classes (like Image), removing a source of double indexing and catalog UID confusion

Modified:
    erp5/trunk/products/ERP5/Document/File.py

Modified: erp5/trunk/products/ERP5/Document/File.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/File.py?rev=30692&r1=30691&r2=30692&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/File.py [utf8] (original)
+++ erp5/trunk/products/ERP5/Document/File.py [utf8] Tue Nov 17 15:37:26 2009
@@ -36,7 +36,7 @@
 from Products.ERP5Type.Cache import CachingMethod
 from Products.ERP5.Document.Document import Document
 from Products.ERP5.Document.Document import ConversionError
-from Products.ERP5Type.Base import Base
+from Products.ERP5Type.Base import Base, removeIContentishInterface
 from Products.CMFDefault.File import File as CMFFile
 from zLOG import LOG
 from DateTime import DateTime
@@ -227,3 +227,6 @@
 
     return (mime_type, content)
 
+# CMFFile also brings the IContentishInterface on CMF 2.2, remove it.
+removeIContentishInterface(File)
+




More information about the Erp5-report mailing list