Invalid version format (non-numeric data) error when bugzilla_version param is empty and 4.2+ is returned as default value

RESOLVED FIXED

Status

()

RESOLVED FIXED
3 years ago
3 years ago

People

(Reporter: dkl, Assigned: dkl)

Tracking

Production

Details

(Assignee)

Description

3 years ago
In Bugzilla::Constants::BUGZILLA_VERSION, when the bugzilla_version value is empty, it returns 4.2+ as the default version value. 

/rest/extensions API call throws the following error as 4.2+ is not valid

{
   "code" : 100500,
   "documentation" : "http://www.bugzilla.org/docs/tip/en/html/api/",
   "error" : true,
   "message" : "Invalid version format (non-numeric data) at /var/www/bugzilla/Bugzilla/WebService/Bugzilla.pm line 58.\n"
}

If I add a proper value for bugzilla_version or use '4.2' as the default the error goes away.
(Assignee)

Comment 1

3 years ago
To ssh://gitolite3@git.mozilla.org/webtools/bmo/bugzilla.git
   b6d9211..f03cb21  master -> master
Status: ASSIGNED → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.