Closed Bug 1219949 Opened 10 years ago Closed 10 years ago

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

Categories

(bugzilla.mozilla.org :: API, defect)

Production
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: dkl, Assigned: dkl)

Details

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.
To ssh://gitolite3@git.mozilla.org/webtools/bmo/bugzilla.git b6d9211..f03cb21 master -> master
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.