Bug 1184487
| Summary: | Missing conflict dialog for jBPM Designer | ||
|---|---|---|---|
| Product: | [Retired] JBoss BPMS Platform 6 | Reporter: | Sona Mala <smala> |
| Component: | jBPM Designer | Assignee: | Pere Fernàndez <pere.fernandez> |
| Status: | CLOSED EOL | QA Contact: | Sona Mala <smala> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 6.1.0 | CC: | kverlaen, pere.fernandez, rrajasek, trikkola |
| Target Milestone: | CR1 | Keywords: | Regression |
| Target Release: | 6.1.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-03-27 19:38:44 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Sona Mala
2015-01-21 14:19:02 UTC
Looks like we had two concurrentUpdateSessionInfo fields. One in DesignerPresenter and other in BaseEditor. If there was concurrent edits we did set the other, but when comparing if there has been any concurrent edits, we used the one that was not set. master: https://github.com/droolsjbpm/jbpm-designer/commit/915407d1b 6.2.x: https://github.com/droolsjbpm/jbpm-designer/commit/4b70b1b98 I confirm that the conflict editor is present in 6.1.0 ER5. Unfortunately, it causes regressions. See bz 1111406 and bz 1140695 which were fixed in 6.1.0 ER3 and its functionality was broken by commit: https://github.com/droolsjbpm/jbpm-designer/commit/be97a9034 I assigned this issue because the state of ER5 is not same as the state of ER3. The both regression were mentioned in Description. The problem is that the Commit wasn't holding the sessionId and that made impossible for the platform to determine who edited the process. So the concurrent update event was fired for all the users that where editing the process (included the one that did the commit). To fix that, the sessionId is sent to the designer so a correct commit message with a valid sessionId can be created. Commit (master): https://github.com/droolsjbpm/jbpm-designer/commit/bc1341422df74e6d4efe7335737a2740b4697edd Cherry-piked to 6.2.x branch. Commit (6.2.x): https://github.com/droolsjbpm/jbpm-designer/commit/4e44ed3aa53bdda37fac8ffcbeed3eb98f88d5a1 This issue was verified on 6.1.0 CR1. The conflict dialog has the expected behaviour. |