Bug 1049284

Summary: When solving a conflict, Reopen saves the process and closes Designer
Product: [Retired] JBoss BPMS Platform 6 Reporter: Zuzana Krejčová <zkrejcov>
Component: jBPM DesignerAssignee: Tihomir Surdilovic <tsurdilo>
Status: CLOSED CURRENTRELEASE QA Contact: Zuzana Krejčová <zkrejcov>
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: kverlaen, lpetrovi, mbaluch, rrajasek, rzhang
Target Milestone: CR1   
Target Release: 6.0.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-08-06 20:08:46 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:
Bug Depends On:    
Bug Blocks: 983634    

Description Zuzana Krejčová 2014-01-07 10:43:12 UTC
Description of problem:
When 2 users work on the same process, one saves and the other tries to save after that as well, he will get the conflict Error pop-up with 'User admin has updated the following resource..' and options to Force save, Reopen or Cancel.

If the user tries to Reopen, the Designer will be closed, the process will be saved instead (can be verified if you Cancel the error pop-up and reopen the process) and the error pop-up will stay present and operational.

The process/Designer definitely won't be, in any way, reopened.


The same behaviour can be reproduced with only one user and two saves without reopening in between the saves.


Version-Release number of selected component (if applicable):
BPMS 6.0 ER7


Steps to Reproduce:
1. User u1 and u2 both open the same process in Designer.
2. User u1 makes a change and saves.
3. User u2 makes a change and saves.
4. In the error pop-up, u2 chooses Reopen.


Actual results:
Designer is closed, the process is saved and the error pop-up stays present and operational.


Expected results:
Process is not saved, Designer reloads with the process in the version from first save, pop-up disappears.


Additional info:
This might be related to bug 1034795 and bug 953875.

Comment 3 Kris Verlaenen 2014-01-10 14:48:50 UTC
Tiho, it seems that when you click Reopen or Cancel on the popup, the process is always saved, regardless (while this should only be the case with Force save of course).

Comment 4 Tihomir Surdilovic 2014-01-13 02:13:43 UTC
fixed in designer master and 6.0.x branches