From bf3e6a533f7db19487bf2911fe11c26081509687 Mon Sep 17 00:00:00 2001 From: Arnaud Fontaine <arnaud.fontaine@nexedi.com> Date: Sat, 26 Feb 2022 09:50:02 +0100 Subject: [PATCH] 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. --- product/ERP5Type/ZopePatch.py | 1 + 1 file changed, 1 insertion(+) diff --git a/product/ERP5Type/ZopePatch.py b/product/ERP5Type/ZopePatch.py index 4af35a7317..cd53ccbbdc 100644 --- a/product/ERP5Type/ZopePatch.py +++ b/product/ERP5Type/ZopePatch.py @@ -90,6 +90,7 @@ if six.PY2: # No ZServer, so no webdav from Products.ERP5Type.patches import WebDAV from Products.ERP5Type.patches import CMFCoreUtils +from Products.ERP5Type.patches import OFSFile from Products.ERP5Type.patches import ZSQLMethod from Products.ERP5Type.patches import MimetypesRegistry from Products.ERP5Type.patches import users -- 2.30.9