Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1140695

Summary: Designer sometimes does not save changes in the process.
Product: [Retired] JBoss BPMS Platform 6 Reporter: Marek Baluch <mbaluch>
Component: jBPM DesignerAssignee: Tihomir Surdilovic <tsurdilo>
Status: CLOSED EOL QA Contact: Sona Mala <smala>
Severity: high Docs Contact:
Priority: high    
Version: 6.1.0CC: kverlaen, rrajasek
Target Milestone: CR1Keywords: 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:47:39 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:
Attachments:
Description Flags
vid none

Description Marek Baluch 2014-09-11 13:51:41 UTC
Created attachment 936561 [details]
vid

*** Description of problem
Sometimes when a user is editing multiple process at once (4-5 are opened in the authoring view) then when he attempts to save changes the force save dialog will be shown. When Force save is chosen the changes will not be saved and will be lost on re-open.

*** How reproducible
Moderate difficulty to reproduce when working.

*** Steps to Reproduce
Not identified so far.

*** Additional info
See attached video which demonstrates the problem.

Comment 1 Jeremy Lindop 2014-11-25 16:53:59 UTC
Reproduced in 6.0.0.GA and bpms-6.1.0-DR4

1. Create new BP called "firstbp"
2. Add a task, then an end event. Don't set any properties.
3. Save the BP. Don't close the editor.
4. Create new BP called "secondbp"
5. Add a task, then an end event. Don't set any properties.
6. Save the BP. Don't close the editor.
7. In the editor for "secondbp", set the task to a "Send" task.
8. Switch to the editor for "firstbp", set the task to a "Receive" task.
9. Save 'firstbp'. A "Force Save.." dialog will popup saying user has updated "secondbp"
   even though you're saving 'firstbp'
10. Click "Force Save"
11. Close "firstbp" (click OK when prompted with the "may save unsaved changes" dialog)
12. Close "secondbp" (click OK when prompted with the "may save unsaved changes" dialog)
13. Re-open "firstbp" - the Task will have no type
14. Re-open "secondbp" - the Task will be a 'send' task, even though you didn't save the change.

In the current build, this problem doesn't happen, possibly because the incorrect "Force Save" dialogs have been fixed (https://bugzilla.redhat.com/show_bug.cgi?id=1111406).

Following the steps above, at step 13, the task in "firstbp" is a "Receive" task, and at 14, the task in "secondbp" has no type, because it wasn't saved.

I've tried other ways to reproduce the problem, but can't in the current build.

Comment 2 Sona Mala 2014-12-15 14:21:39 UTC
I can confirm that ER3 saves the right process and Force Dialog is missing.

Comment 3 Sona Mala 2015-03-02 07:46:31 UTC
This issue is present in 6.1.0 ER5. Look at bz 1184487.

Comment 4 Jeremy Lindop 2015-03-02 17:21:05 UTC
Fixed for 6.2.0 - see https://bugzilla.redhat.com/show_bug.cgi?id=1184487

Comment 5 Sona Mala 2015-03-03 06:46:16 UTC
Is a problem to cherry pick this fix to 6.1.0?

Comment 6 Jeremy Lindop 2015-03-03 11:54:39 UTC
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.

Comment 7 Jeremy Lindop 2015-03-04 13:55:37 UTC
Commit cherry-piked to 6.2.x branch.
See https://bugzilla.redhat.com/show_bug.cgi?id=1184487#c4

Comment 8 Sona Mala 2015-03-30 07:41:56 UTC
This issue was verified on 6.1.0 CR1.

The conflict dialog contains the right BP.