Bug 548328

Summary: When adding an external bug, the system doesn't check bug id's format
Product: [Community] Bugzilla Reporter: Tony Fu <tfu>
Component: Bugzilla GeneralAssignee: PnT DevOps Devs <hss-ied-bugs>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: low    
Version: 3.4   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-12-18 16:37:40 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:
Bug Depends On:    
Bug Blocks: 514793    

Description Tony Fu 2009-12-17 06:18:55 UTC
Description of problem:


When adding an external bug, the system doesn't check if the bug id is a valid id (user can input text or negative number in external bug id field)

How reproducible:


Steps to Reproduce:
1.File a new bug
2.Add an external bug and put a text or negative number as bug id
3.
  
Actual results:

If put a text as bug id, the bug id is set to '0'; if put a negative number as bug id, the bug id will be a negative number

Expected results:

When put a text or a negative number as external bug id, an error message should be displayed to explain the error.

Additional info:

Comment 1 David Lawrence 2009-12-18 16:37:40 UTC
This is now fixed in SVN and will be in the next updated rpm.

Dave