Why can't you paste artifacts copied from a Baseline in DOORS NG?
On occasion, users accidentally remove artifacts from a Module, then need to add them back. For some reason, if you copy them from a Baseline then try to paste, you hit an error.
Accepted answer
Support Case response is that this is expected behavior. Full response below:
Per development, this behavior is expected in 6.0.6.1 because we do not allow copy/paste of module data between configurations in the same component. This includes streams and baselines. Work has been done in 7.x to prevent this entirely, greying out the menu options and providing better error messages on drag and drop, but in 6.0.6.1 the process just fails with this exception. See work item references below:
Repurpose: Tags and Links between artifacts are not copied when user copies and pastes between streams. (133155) <https://jazz.net/jazz03/resource/itemName/com.ibm.team.workitem.WorkItem/133155>
Repurpose: Copy and paste - Context menu entry isn't disabled in module (133195) <https://jazz.net/jazz03/resource/itemName/com.ibm.team.workitem.WorkItem/133195>
Repurpose: Error message is not very helpful when user tries to drag and drop stream to stream (133194) <https://jazz.net/jazz03/resource/itemName/com.ibm.team.workitem.WorkItem/133194>
Repurpose: User can copy and paste an artifact to a module in a different stream, only if it exists in the target stream (133156) <https://jazz.net/jazz03/resource/itemName/com.ibm.team.workitem.WorkItem/133156>
Workaround
You need to browse and add existing requirements manually.
Comments
That also explains why I had to work extra hard to reproduce this error in 7.0.2 ... in most cases, the Paste and Paste-Special menu entries were greyed out (or absent). But there were still a few cases where Paste was not greyed out, but that when I clicked on it, I get this error message. So I guess the defect in 7.0.2 is that there are still a few places where the "Paste" operation is enabled, when it shouldn't be. An error message like "cross configuration paste is not allowed" would have been much more helpful than just greying it out ... that is my standard complaint against all GUI's that grey out invalid operations ... clicking on that greyed out entry should result in a message explaining why it has been greyed out.
Comments
Geoffrey Clemm
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Apr 26 '21, 6:14 p.m.I tested this scenario in 7.0.2, and I couldn't get the "paste" of any of the artifacts copied from the baseline to work, whether or not the artifact had been removed from the module I was trying to paste into (same error message as the one you report here). Unless someone has a suggestion on the forum, I'd suggest opening a support case with IBM on this. (And please post what you find out back to this forum question).
Carol Watson
Apr 28 '21, 5:17 p.m.Thank you Geoffrey, I opened Support Case TS005534187.
Geoffrey Clemm
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Apr 28 '21, 5:34 p.m.Thanks, I've subscribed to that Case so I can follow along, and provide color commentary if appropriate.