Hide Forgot
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.
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"
we can check the ID numbers, but can't check if it is a real bug in bugzilla in real time.
(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.