Bug 844591

Summary: All instances of the same bug is deleted from Test Case when removing the bug
Product: [Other] TCMS Reporter: Patrik Kis <pkis>
Component: ApplicationAssignee: Yang Ren <ryang>
Status: NEW --- QA Contact: Nobody <nobody>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.0CC: junzhang, ryang, vchen
Target Milestone: ---   
Target Release: 4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
screenshot: TC-bugs
none
screenshot: TC-bugs-after-removal none

Description Patrik Kis 2012-07-31 06:55:37 UTC
Created attachment 601434 [details]
screenshot: TC-bugs

Description of problem:
When the same bug appears more times in a test case and one instance of this bug is removed, all instances disappear.

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

How reproducible:
always

Steps to Reproduce:
1. Find a TC(test case) which has at least one run
2. In the Bugs tab of TC add one bug
3. In the test run select the TC as failed and also add the same bug
4. The bug list of TC should contain two bugs (with the same bug number)
   (see the attached screenshot: TC-bugs
5. From the TC Bugs view remove one instance of bug. Confirm OK.

  
Actual results:
Booth instances of bugs disappear. (see attachment: TC-bugs-after-removal)

Expected results:
Only the selected instance of bug is deleted.

Additional info:

Comment 1 Patrik Kis 2012-07-31 06:56:01 UTC
Created attachment 601436 [details]
screenshot: TC-bugs-after-removal

Comment 2 yawei Li 2012-08-24 08:59:16 UTC
In TCMS 4.0, we will re-design the database table to resolve this issue.