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

Bug 1233396

Summary: Attempt to rename file affects the wrong BPM process in BPM Suite 6.1.0
Product: [Retired] JBoss BPMS Platform 6 Reporter: Amana <ajuricic>
Component: Business CentralAssignee: Tihomir Surdilovic <tsurdilo>
Status: CLOSED EOL QA Contact: Lukáš Petrovický <lpetrovi>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.1.0CC: lpetrovi, tsurdilo
Target Milestone: DR1   
Target Release: 6.2.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1233397 (view as bug list) Environment:
Last Closed: 2020-03-27 20:09:12 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: 1233397    

Description Amana 2015-06-18 19:35:48 UTC
Description of problem:
By attempting to rename a BPM file (i.e. processA renamed to processB), the newly-created process (processB) had an entirely *different* model.

It seems like the rename was applied to the process viewed prior to opening the one we wanted to rename.
 
e.g          open processA, make changes and save
             open processB and make some changes and save.
             attempt to rename processB to processC, and you will see processA by opening the renamed processC instead of the processB.


Version-Release number of selected component (if applicable):
BPM Suite 6.1.0

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 2 Tihomir Surdilovic 2015-06-24 18:36:26 UTC
fix - after the rename operation the new asset (renamed one) will be opened in the file explorer. 

master fix : https://github.com/droolsjbpm/jbpm-designer/commit/150be89fc

Comment 3 Zuzana Krejčová 2015-07-08 13:47:49 UTC
The fix for this issue is the same as for the clone, bug 1233397. That bug was just returned, the issue was not fixed. See bug 1233397 comment 5.
Please review the fix for this as well.

Comment 4 Tihomir Surdilovic 2015-07-08 17:11:51 UTC
Fixed the issue Zuzana found for both rename and copy 
6.2.x commit: https://github.com/droolsjbpm/jbpm-designer/commit/493e41fee
master commit: https://github.com/droolsjbpm/jbpm-designer/commit/127e495c937ae79f4298f7066d04988ea2fe8e9b

Comment 5 Zuzana Krejčová 2015-08-20 11:04:17 UTC
Verified with 6.2 ER1.