Bug 1233396 - Attempt to rename file affects the wrong BPM process in BPM Suite 6.1.0
Summary: Attempt to rename file affects the wrong BPM process in BPM Suite 6.1.0
Keywords:
Status: CLOSED EOL
Alias: None
Product: JBoss BPMS Platform 6
Classification: Retired
Component: Business Central
Version: 6.1.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: DR1
: 6.2.0
Assignee: Tihomir Surdilovic
QA Contact: Lukáš Petrovický
URL:
Whiteboard:
Depends On:
Blocks: 1233397
TreeView+ depends on / blocked
 
Reported: 2015-06-18 19:35 UTC by Amana
Modified: 2020-03-27 20:09 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
: 1233397 (view as bug list)
Environment:
Last Closed: 2020-03-27 20:09:12 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.