Bug 1039408

Summary: [test run][add bug]Add reduplicative bug to case in the run page, the content of the warning is incorrect.
Product: [Other] TCMS Reporter: yangqiu <qiyang>
Component: ApplicationAssignee: cqi
Status: VERIFIED --- QA Contact: Nobody <nobody>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3.8.5CC: cqi, junzhang, jzhao, ryang, vchen
Target Milestone: ---   
Target Release: ---   
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:
Attachments:
Description Flags
Add a reduplicative bug to case in the run page, the content of the warning is incorrect
none
Verify the bug on qa server faild none

Description yangqiu 2013-12-09 03:28:19 UTC
Created attachment 834192 [details]
Add a reduplicative bug to case in the run page, the content of the warning is incorrect

Description of problem:
As subject.

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

How reproducible:
100%

Steps to Reproduce:
1. Enter a test run page. 
2. Add bug 111111 to a case.
3. Add bug 111111 to the same case.
4. Check the content of the warning.

Actual results:
System give the warning: [object Object]

Expected results:
System give the warning: You have added the bug yet.

Aditional info:

Comment 1 cqi 2013-12-20 02:18:56 UTC
Fixed. A dialog with message will be shown to notify user the bug id already exists when the bug id has been added.

Comment 2 yangqiu 2013-12-23 06:53:04 UTC
Verify the bug in version 3.8.6 on devel server.--->Pass

Steps to verify as above.

Comment 3 yangqiu 2013-12-25 10:24:08 UTC
Verify the bug in version 3.8.6 on qa server.--->Faild

Steps to Reproduce:
1. Enter a test run page. 
2. Add bug 111111 to a case.
3. Add bug 111111 to the same case.
4. Check the content of the warning.

Actual results:
System give the warning: B

Expected results:
System give the warning: Bug 111 exists in run 2927802 already.

Comment 4 yangqiu 2013-12-25 10:26:01 UTC
Created attachment 841461 [details]
Verify the bug on qa server faild

Comment 5 cqi 2014-01-03 02:51:04 UTC
Fixed.

Comment 6 yangqiu 2014-01-07 04:44:24 UTC
Verify the bug in version 3.8.6-1 on qa server.--->Pass
Verify steps as description.