Bug 719251

Summary: [Add Bug]Unselect case to add bug, wrong reaction and wrong warning.
Product: [Other] TCMS Reporter: Guoping Feng <GFENG>
Component: ApplicationAssignee: Yuguang Wang <yuwang>
Status: CLOSED DEFERRED QA Contact: tools-bugs <tools-bugs>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.4.1CC: ctang, dli, junzhang, nli, vchen
Target Milestone: ---Keywords: TestOnly
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-12-26 06:32:55 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Guoping Feng 2011-07-06 09:01:31 UTC
Description of problem:
In a run view, select no case and click the the "Add" of "Bugs" label, the reaction is that the input box for bug id comes out.
Then if you choose cancel, there comes up a confirm box warning "Please specify bug ID".
If you input a valid bug id, there is a confirm box warning "Please specify only integers for bugs, caseruns(using comma to seperate IDs), and bug_system. (DEBUG INFO: invalid literal for int(): )".

Version-Release number of selected component (if applicable):
TCMS 3.4.1-2 - stage 

How reproducible:
100%

Steps to Reproduce:
1.Enter into a run.
2.Choose none cases.
3.Click "Add bug" button
  
Actual results:
When choosing none cases, the input box for bug id still comes out.
Then if you choose "cancel" button in the box or input nothing and click the "add" button, there comes up a confirm box warning "Please specify bug ID".
If you input a valid bug id and click the "add" button, then there comes out a confirm box warning "Please specify only integers for bugs, caseruns(using comma to seperate IDs), and bug_system. (DEBUG INFO: invalid literal for int(): )"

Expected results:
After clicking "Add bug" button, a warning box should come out.

Additional info:

Comment 1 Guoping Feng 2011-07-06 09:05:18 UTC
In a run view, unselect case and add comment,also the same wrong reaction in that the input box for inputting comment should not come out.

Comment 2 Danqing Li 2011-12-26 06:32:55 UTC
Deferred to 4.0