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:
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
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.
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
Verified with 6.2 ER1.