Details
-
Improvement
-
Status: Closed
-
Normal
-
Resolution: Fixed
-
None
-
None
-
Quasar
-
Puma Sprint 234, Puma Sprint 236
Description
Problem description
If a workflow instance w1 has made changes on node n1 and another workflow instance w2 wants to make changes as well, the save action of the session s2 of w2 can fail. ( javax.jcr.InvalidItemStateException: property /content/documents/hap/xmas-tree/xmas-tree[3]/hippostd:transferable: the property cannot be saved because it has been modified externally. )
In order to synchronize the s2, the DocumentWorkflow#getWorkflowContent#getInternalWorfklowSession can be refreshed. However calling #getWorkflowContext triggers a Session#save ( that will throw and InvalidItemStateException ) .
Solution
#hints does not trigger a Session#save. Add #getWorkflowContext to the list.
Attachments
Issue Links
- clones
-
CMS-13357 #getWorkflowContext should not trigger a Session#save, but it does
- Closed