Bug 744692 - [RFE]Invalid bug ID (number out of range) shouldn't be allowed to add to test case
Summary: [RFE]Invalid bug ID (number out of range) shouldn't be allowed to add to test...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: TCMS
Classification: Other
Component: Application
Version: 3.6
Hardware: Unspecified
OS: Linux
medium
medium
Target Milestone: ---
: ---
Assignee: Zheng Liu
QA Contact: tools-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-10 08:21 UTC by Guoping Feng
Modified: 2016-06-23 04:18 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-05-24 02:45:40 UTC


Attachments (Terms of Use)
Adding Bugs (31.34 KB, image/png)
2011-10-10 08:21 UTC, Guoping Feng
no flags Details

Description Guoping Feng 2011-10-10 08:21:29 UTC
Created attachment 527183 [details]
Adding Bugs

Description of problem:
When adding a bug ID to a case in the case page, invalid(number out of range) bug ID can be added as https://bugzilla.redhat.com/show_bug.cgi?id=8388607
And Bug #8388607 actually does not exist.

Version-Release number of selected component (if applicable):
3.6.0-2 on englab

How reproducible:
100%

Steps to Reproduce:
1.Enter into a case.
2.Click "Bugs" label.
3..In bugs tab, click the "+" or "add" link with a invalid bug ID number,like "1111111111" or "777777777777", then Click "add" label below.
  
Actual results:
No matter input "1111111111" or "777777777777" or other number out of range, the bug ID can be added same as "https://bugzilla.redhat.com/show_bug.cgi?id=8388607"

Expected results:
A warning should pop out prompting that such bug does not exist.

Additional info:
Please refer to attachment.

Comment 1 Guoping Feng 2011-10-10 10:49:01 UTC
Such problem also appears when adding bug(s) after choosing one/some/all case run(s) in a run.

Steps to Reproduce:
1.Enter into a run.
2.Choose one/some/all case run(s), then click "Add" label on the drop list of Bug tab.
3.Input a invalid bug ID number,like "1111111111" or "777777777777", then Click "add" label below.

Result:
The bug can be added successfully as "8388607"

Comment 2 yawei Li 2012-05-18 03:32:52 UTC
we can check the ID numbers, but can't check if it is a real bug in bugzilla in real time.

Comment 3 jianchen 2012-05-24 02:45:40 UTC
(In reply to comment #1)
> Such problem also appears when adding bug(s) after choosing one/some/all
> case run(s) in a run.
> 
> Steps to Reproduce:
> 1.Enter into a run.
> 2.Choose one/some/all case run(s), then click "Add" label on the drop list
> of Bug tab.
> 3.Input a invalid bug ID number,like "1111111111" or "777777777777", then
> Click "add" label below.
> 
> Result:
> The bug can be added successfully as "8388607"
TCMS can check ID numbers now, if input bug ID too long, will popup alarm.
Please re-confirm and we will close this bug.


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