Steps to reproduce:
- Create an event handler on Folderish documents triggered on the Document Modified event.
- Create the following automation chain, to be launched when the event handler is fired:
- Context.FetchDocument - Bulk.RunAction: action: setProperties query: expr:SELECT * FROM Document WHERE ecm:ancestorId = @{Document.id} parameters: expr:{"dc:description":"@{Document.description}"}
Given a folder with thousands of documents in it:
- Modify the description of the folder in Web UI.
=> When clicking Save on edit document dialog:- The document is not saved.
- The edit document dialog remains open.
- A document.saveError toast notification appears.
- Errors appear in the server.log (see attached server.log for details).
Caused by: com.fasterxml.jackson.databind.JsonMappingException: Infinite recursion (StackOverflowError) (through reference chain: org.nuxeo.ecm.core.api.model.impl.DocumentPartImpl["icon-expanded"] ->org.nuxeo.ecm.core.api.model.impl.primitives.StringProperty["parent"] ->org.nuxeo.ecm.core.api.model.impl.DocumentPartImpl["icon-expanded"] ->org.nuxeo.ecm.core.api.model.impl.primitives.StringProperty["parent"] ->org.nuxeo.ecm.core.api.model.impl.DocumentPartImpl["icon-expanded"] ->org.nuxeo.ecm.core.api.model.impl.primitives.StringProperty["parent"] etc.
- is related to
-
NXP-26259 Hide 10.3 operations that cannot be used in Studio
- Resolved
-
NXP-26267 Fix CSV export fails to invoke operation: Bulk.RunAction
- Resolved
-
AICORE-153 Inconsistent codec on log appenders
- Resolved