Closed
Bug 853929
Opened 12 years ago
Closed 12 years ago
BzAPI configuration call got some wrong data in response
Categories
(Webtools Graveyard :: BzAPI, defect)
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: jeffwang, Assigned: gerv)
Details
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.22 (KHTML, like Gecko) Chrome/25.0.1364.172 Safari/537.22
Steps to reproduce:
We installed the following on 64 bit window 7:
Bugzilla: 4.2.5; Perl: 5.12.5 (32 bit); Apache http server 2.2.22 (32 bit); mySQL 5.5.30 (32 bit) Bz::Client used is 1.0.3.
But BzAPI call for http://hostname:3000/configuration includes the following line in return for many attributes: is_active: !!perl/scalar:JSON::PP::Boolean 1
Actual results:
http://hostname:3000/configuration returns:
announcement: ''
field:
alias:
description: Alias
is_active: !!perl/scalar:JSON::PP::Boolean 1
type: 1
assigned_to:
description: Assignee
is_active: !!perl/scalar:JSON::PP::Boolean 1
type: 0
assignee_idle:
description: Time Since Assignee Touched
is_active: !!perl/scalar:JSON::PP::Boolean 1
type: 0
...
version: 4.2.5
Expected results:
!!perl/scalar:JSON::PP::Boolean 1 is not expected in the result.
Assignee | ||
Comment 1•12 years ago
|
||
This is the YAML output, which is for debugging purposes only. You need to ask BzAPI for JSON output. See:
https://wiki.mozilla.org/Bugzilla:REST_API#Data_Formats
Gerv
Status: UNCONFIRMED → RESOLVED
Closed: 12 years ago
Resolution: --- → WORKSFORME
Updated•7 years ago
|
Product: Webtools → Webtools Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•