Description of problem: In designer, user can save bpmn2 without any ERROR message at first time. From the 2nd time, every time user saves it, error message is displayed as modal panel. The error pop-up says: == User admin has updated the following resource default://master@repository1/project3/src/main/resources/TestProcess.bpmn2. == Steps to Reproduce: 1. Open designer in business-central 2. save business process 3. save it again Actual results: error pop-up is displayed Expected results: no error message will be displayed
This issue is important to fix since it's currently affecting the Freemodeler project as well.
Branch - 6.2.x https://github.com/droolsjbpm/jbpm-designer/commit/367862e861a637e5fb2e26558352a07b998acfc7 Branch - master https://github.com/droolsjbpm/jbpm-designer/commit/c3f7b505f17e6edaddbaf97528f96360bb4431a4 Fixed by resetting concurrentUpdateSessionInfo in DesignerPresenter after each save.
Branch - 6.2.x https://github.com/droolsjbpm/jbpm-designer/commit/97d02c3975c06a0003a22e5431339a74d271a0df Branch - master https://github.com/droolsjbpm/jbpm-designer/commit/e8fda3d4f3b9f402c024a094cd34b6557ca4f531 Previous fix was unreliable because events involved are asynchronous. Fixed by making DesignerPresenter ignore the ConcurrentUpdateEvent trigger by its own save.
*** Bug 1026965 has been marked as a duplicate of this bug. ***
*** Bug 1075077 has been marked as a duplicate of this bug. ***
It seems that resolving of conflicts works fine in ER3.
The user can modify the process how manytimes he or she wants. If he or she works alone on process. The conflict dialog is displayed when the user have already modified the process and someone pushes changes.
This issue is present in 6.1.0 ER5. Look at bz 1184487.
Fixed for 6.2.0 - see https://bugzilla.redhat.com/show_bug.cgi?id=1184487
This is a custom issue and it was fixed in 6.1.0 ER3. Is a problem to cherry pick this fix to 6.1.0?
I think cherry-picking the commit from https://bugzilla.redhat.com/show_bug.cgi?id=1184487#c3 to the 6.2.x branch should work.
Commit cherry-piked to 6.2.x branch. See https://bugzilla.redhat.com/show_bug.cgi?id=1184487#c4
This issue was verified on 6.1.0 CR1. The conflict dialog is not shown when one user works with a BP.
Jozef Marko <jomarko> updated the status of jira JBPM-4371 to Closed