Red Hat Bugzilla – Bug 981649
Import feature allows to import the same workspace more times.
Last modified: 2014-08-06 16:09:50 EDT
Created attachment 769228 [details]
Exported workspace which may be used for reproduction.
Description of problem:
It is possible to import one exported workspace more then once. I presume this is not intended behaviour as duplicating a workspace adds the prefix "Copy of" to the workspace name.
How to reproduce:
1) import the attached workspace multiple times
The fact that "Copy of" is added to the workspace name is NOT due to the action of importing the workspace, but to the fact that the attached exported workspace has the name "Copy of Showcase". So in very probably you exported a duplicate of the Showcase workspace (which caused some confusion on my part when trying to establish the origin ;D ).
A workaround has been implemented in the following commits:
When importing workspaces with already existing names, a reasonable attempt to give a unique name to the newly imported workspace is made by appending "(x)" to its original name (with x reprensenting an integer).
Ok, verified with BPMS 6.0.0 ER4