Hi folks,
We are running into two errors since we are using Plone 5.2 with Volto. In fact they are not reproduceable using Classic UI, so I would lean more on the p.restapi interface to be who to point to, at least for now. They are not reproduceable in 5.1 (with p.restapi) in any case too, so that narrows (or confuses) a little bit more the case.
This is the conflict error:
2019-12-04 10:50:46,006 ERROR [ZODB.ConflictResolution:294][waitress] Unexpected error while trying to resolve conflict on <class 'collective.folderishtypes.dx.content.FolderishDocument'>
Traceback (most recent call last):
File "/Users/sneridagh/Development/eggs/ZODB-5.5.1-py3.7.egg/ZODB/ConflictResolution.py", line 262, in tryToResolveConflict
resolve = inst._p_resolveConflict
File "/Users/sneridagh/Development/eggs/plone.dexterity-2.9.1-py3.7.egg/plone/dexterity/content.py", line 735, in __getattr__
return CMFOrderedBTreeFolderBase.__getattr__(self, name)
File "/Users/sneridagh/Development/eggs/Products.BTreeFolder2-4.2-py3.7.egg/Products/BTreeFolder2/BTreeFolder2.py", line 240, in __getattr__
return self._tree[name]
TypeError: 'NoneType' object is not subscriptable
2019-12-04 10:50:46,869 ERROR [Zope.SiteErrorLog:251][waitress] 1575453046.8687890.5727237784649776 http://localhost:8080/Plone/de/dummy/asdasdas/GET_application_json_
Traceback (innermost last):
Module ZPublisher.WSGIPublisher, line 161, in transaction_pubevents
Module transaction._manager, line 252, in commit
Module transaction._manager, line 131, in commit
Module transaction._transaction, line 311, in commit
Module transaction._compat, line 50, in reraise
Module transaction._transaction, line 302, in commit
Module transaction._transaction, line 447, in _commitResources
Module transaction._compat, line 50, in reraise
Module transaction._transaction, line 421, in _commitResources
Module ZODB.Connection, line 497, in commit
Module ZODB.Connection, line 546, in _commit
Module ZODB.Connection, line 602, in _store_objects
Module ZODB.mvccadapter, line 165, in store
Module ZODB.FileStorage.FileStorage, line 603, in store
Module ZODB.ConflictResolution, line 297, in tryToResolveConflict
ZODB.POSException.ConflictError: database conflict error (oid 0x09f03c, class collective.folderishtypes.dx.content.FolderishDocument, serial this txn started with 0x03d43c9712bdc533 2019-12-03 15:51:04.392490, serial currently committed 0x03d440cea634b400 2019-12-04 09:50:38.954501)
We are using collective.folderishtypes addon to make all content types folderish.
The second error is:
2019-12-04 10:52:44,400 ERROR [Zope.SiteErrorLog:251][waitress] 1575453164.4001880.27303118517455216 http://localhost:8080/Plone/de/dummy/asdasdas/GET_application_json_
Traceback (innermost last):
Module ZPublisher.WSGIPublisher, line 155, in transaction_pubevents
Module ZPublisher.WSGIPublisher, line 337, in publish_module
Module ZPublisher.WSGIPublisher, line 255, in publish
Module ZPublisher.mapply, line 85, in mapply
Module ZPublisher.WSGIPublisher, line 61, in call_object
Module plone.rest.service, line 23, in __call__
Module plone.restapi.services, line 21, in render
Module plone.restapi.services.content.get, line 18, in reply
Module plone.restapi.serializer.dxcontent, line 125, in __call__
Module plone.restapi.serializer.dxcontent, line 83, in __call__
Module plone.restapi.serializer.dxfields, line 28, in __call__
Module plone.restapi.serializer.dxfields, line 31, in get_value
TypeError: ('Could not adapt', <FolderishDocument at /Plone/de/dummy>, <SchemaClass plone.restapi.behaviors.IBlocks>)
This last error is a Heisenbug, it's completely random and is gone on reload on the same failing object.
If it rings a bell to someone, it would be great to know what might be the cause.
Cheers,
V.