Bug 981649 - Import feature allows to import the same workspace more times.
Summary: Import feature allows to import the same workspace more times.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss BPMS Platform 6
Classification: Retired
Component: BAM
Version: 6.0.0
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ER4
: 6.0.0
Assignee: Jan
QA Contact: Jan Hrcek
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-07-05 11:57 UTC by Marek Baluch
Modified: 2014-08-06 20:09 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-08-06 20:09:50 UTC
Type: Bug


Attachments (Terms of Use)
Exported workspace which may be used for reproduction. (10.81 KB, application/zip)
2013-07-05 11:57 UTC, Marek Baluch
no flags Details

Description Marek Baluch 2013-07-05 11:57:51 UTC
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

Comment 1 Jan 2013-09-06 10:22:18 UTC
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 ).

Comment 2 Jan 2013-09-09 16:02:11 UTC
A workaround has been implemented in the following commits:

https://github.com/droolsjbpm/dashboard-builder/commit/2bde36a89
https://github.com/droolsjbpm/dashboard-builder/commit/68f4d5be9

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).

Comment 6 Jan Hrcek 2013-10-18 06:33:15 UTC
Ok, verified with BPMS 6.0.0 ER4


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