remove IContentish from Products.ERP5.Document.File.File and consequently all...

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

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@30692 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 036bd279
......@@ -36,7 +36,7 @@ from Products.ERP5Type import Permissions, PropertySheet, Constraint, interfaces
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 @@ class File(Document, CMFFile, CachedConvertableMixin):
return (mime_type, content)
# CMFFile also brings the IContentishInterface on CMF 2.2, remove it.
removeIContentishInterface(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