Closed
Bug 850916
Opened 11 years ago
Closed 11 years ago
BzAPI version 1.2 has a broken /user method because which looks like a problem with a redirect
Categories
(Webtools Graveyard :: BzAPI, defect)
Webtools Graveyard
BzAPI
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: jhford, Assigned: gerv)
References
Details
$ curl https://api-dev.bugzilla.mozilla.org/1.2/user/jh<snip>la.com {"error":1,"users":[],"code":null,"message":"Unknown error: 302 Found"} $ curl https://api-dev.bugzilla.mozilla.org/1.3/user/jh<snip>la.com {"real_name":"John Ford [:jhford]","ref":"https://api-dev.bugzilla.mozilla.org/1.3/user/258126","name":"jh<snip>la.com","id":"258126"} This is the case for at least the /user method. Using version 1.3 of the API works perfectly. I am pretty sure that this worked before the latest bugzilla update, but I don't know with certainty.
there's a bug in bzapi v1.2 when interfacing with bmo, which was fixed in 1.3 (bug 826275). seems like the fix is to simply use 1.3. i don't know gerv's policy on backporting fixes, so i won't mark this as a duplicate.
Assignee: nobody → gerv
Component: API → BzAPI
Product: bugzilla.mozilla.org → Webtools
Version: Production → other
Summary: Bugzilla API version 1.2 has a broken /user method because which looks like a problem with a redirect → BzAPI version 1.2 has a broken /user method because which looks like a problem with a redirect
Assignee | ||
Comment 2•11 years ago
|
||
Use 1.3; this is about the only change. (The breakage was with the new version of B.M.O. which is why you haven't seen it until recently.) Gerv
Reporter | ||
Comment 3•11 years ago
|
||
(In reply to Gervase Markham [:gerv] from comment #2) > Use 1.3; this is about the only change. (The breakage was with the new > version of B.M.O. which is why you haven't seen it until recently.) > > Gerv Great, Thanks! I was hoping to not need to go through and find the differences between 1.2 and 1.3, so it's good to know that there shouldn't be too many changes.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Comment 4•11 years ago
|
||
Actually this is not fixed. Using 1.3 is a workaround.
OS: Mac OS X → All
Hardware: x86 → All
Resolution: FIXED → WONTFIX
Assignee | ||
Comment 5•11 years ago
|
||
WONTFIX is not the right resolution here; we don't mark bugs reported against Firefox 14 WONTFIX because we've fixed them in Firefox 15 but not backported the fix to Firefox 14! FIXED means "fixed in the latest released version". Gerv
Resolution: WONTFIX → FIXED
Updated•6 years ago
|
Product: Webtools → Webtools Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•