Commit 091222fb authored by Arnaud Fontaine's avatar Arnaud Fontaine

zope4: OFS.File monkey patch adding _setData() method (7c72a354) was removed.

See Revert "zope patches: display OFSFile content using full available height in zmi".

This fixes testBigFile failures because of `size` not being set to 0 when `data`
is set to None.
parent 71ebf843
...@@ -90,6 +90,7 @@ if six.PY2: ...@@ -90,6 +90,7 @@ if six.PY2:
# No ZServer, so no webdav # No ZServer, so no webdav
from Products.ERP5Type.patches import WebDAV from Products.ERP5Type.patches import WebDAV
from Products.ERP5Type.patches import CMFCoreUtils from Products.ERP5Type.patches import CMFCoreUtils
from Products.ERP5Type.patches import OFSFile
from Products.ERP5Type.patches import ZSQLMethod from Products.ERP5Type.patches import ZSQLMethod
from Products.ERP5Type.patches import MimetypesRegistry from Products.ERP5Type.patches import MimetypesRegistry
from Products.ERP5Type.patches import users from Products.ERP5Type.patches import users
......
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