Bug 698206 - Remove case-bug removes case-run-bug
Summary: Remove case-bug removes case-run-bug
Keywords:
Status: ASSIGNED
Alias: None
Product: TCMS
Classification: Other
Component: Application
Version: 3.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 4.0
Assignee: Yang Ren
QA Contact: Nobody
URL:
Whiteboard:
Depends On:
Blocks: 593666
TreeView+ depends on / blocked
 
Reported: 2011-04-20 12:41 UTC by Petr Šplíchal
Modified: 2022-03-14 03:25 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:


Attachments (Terms of Use)

Description Petr Šplíchal 2011-04-20 12:41:24 UTC
Description of problem:

Removing a bug related to a test case (added under the test case
"bugs" tab) cause the same bug added from a specific case run to
be removed as well.

Version-Release number of selected component (if applicable):
Nitrate 3.3-4

Steps to Reproduce:
1. add bug 1234 under test case -> bugs
2. add bug 1233 under case run -> add bug
3. got to case -> bugs and remove bug 1234
  
Actual results:
Both instances of the bug 1234 removed.

Expected results:
Only the case-base instance removed.

Comment 1 Petr Šplíchal 2011-07-27 05:57:08 UTC
This is quite dangerous issue as it can cause relevant bug
information to be completely lost. Could we get this fixed soon?

Comment 2 Jin Zhao 2011-07-27 07:47:36 UTC
Modify step2:
2. add bug 1233 under case run -> add bug
Should be add bug 1234 under case run -> add bug

Comment 3 Chaobin Tang 2011-09-30 07:54:20 UTC
There is a design drawback behind the scene. The connection between a bug and a caserun is somehow translated into that between a bug and a case, consequently, adding/removing bug of a caserun will literally add/remove the bug of the case.

Consideration on re-implementation of this functionality is required, and that takes further effort.

Comment 4 Ales Zelinka 2011-09-30 14:16:15 UTC
What about reimplementing the case-run-bug removal so that: case-run-bug is removed, the same bug is re-added as case-bug. 

And change the wording on the case-run-bug removal dialogue to make this clear to the user (call it unlink or something...).

Or offer two action on case-run-bugs: unlink from run (remove case-run-bug, leave case-bug) or remove (remove case-run-bug, no case-bug remains either).

The one drawback I see with this add-after-removal approach is that it will be visible in case changelog and might be confusing to users. Worth it though.


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