Contents->mass-upload breaks

This is a in 5.2.4 site and the upload via folder contents breaks here. I never seen this before. Any idea whats wrong here?

2021-03-04 19:02:05,804 ERROR   [Zope.SiteErrorLog:252][waitress-2] 1614880925.80435040.04036447534099219 http://localhost:8080/Plone/ogfa/initiativen-1/test/fileUpload
Traceback (innermost last):
  Module ZPublisher.WSGIPublisher, line 162, in transaction_pubevents
  Module ZPublisher.WSGIPublisher, line 371, in publish_module
  Module ZPublisher.WSGIPublisher, line 266, in publish
  Module ZPublisher.mapply, line 85, in mapply
  Module ZPublisher.WSGIPublisher, line 63, in call_object
  Module plone.app.content.browser.file, line 164, in __call__
  Module plone.app.dexterity.factories, line 51, in __call__
  Module plone.dexterity.utils, line 200, in createContentInContainer
  Module plone.dexterity.utils, line 189, in addContentToContainer
  Module Products.BTreeFolder2.BTreeFolder2, line 464, in _setObject
  Module zope.event, line 32, in notify
  Module zope.component.event, line 27, in dispatch
  Module zope.component._api, line 134, in subscribers
  Module zope.interface.registry, line 448, in subscribers
  Module zope.interface.adapter, line 619, in subscribers
  Module plone.app.contentrules.handlers, line 187, in added
  Module plone.app.contentrules.handlers, line 133, in execute
  Module plone.contentrules.engine.executor, line 22, in __call__
  Module zope.component.hooks, line 135, in adapter_hook
  Module plone.contentrules.engine.assignments, line 92, in ruleAssignmentManagerAdapterFactory
  Module zope.annotation.attribute, line 68, in get
  Module ZODB.Connection, line 795, in setstate
  Module ZODB.serialize, line 633, in setGhostState
  Module ZODB.serialize, line 626, in getState
  Module ZODB.broken, line 108, in __new__
TypeError: object.__new__(quoted_name) is not safe, use Persistence.Persistent.__new__()

It indicates a problem with content rules, but there are no rules defined at all in the site. If I
disable content rules globally in the control panel it works.

ZODB.broken looks suspicious.
Is this a migrated website?
Just in case I would run a zodbverify if you are missing some code.

1 Like