Closed
Bug 1079463
Opened 10 years ago
Closed 10 years ago
Bugzilla::WebService::User missing update method
Categories
(bugzilla.mozilla.org :: API, enhancement)
Tracking
()
RESOLVED
FIXED
People
(Reporter: gps, Assigned: dkl)
Details
Attachments
(1 file)
12.96 KB,
patch
|
dylan
:
review+
|
Details | Diff | Splinter Review |
Bugzilla::WebService::User is missing the "update" method on BMO's production branch. This method is referenced in Bugzilla::WebService::Server::REST::Resources::User. When doing a PUT /rest/user/%s, Bugzilla responds with:
{u'message': u"No such a method : 'update'.", u'code': 100302, u'documentation': u'http://www.bugzilla.org/docs/tip/en/html/api/', u'error': True}
I think this method should be backported to BMO.
Not having this method kinda/sorta blocks from me writing accurate tests for ReviewBoard. I'll likely hack around it by writing a custom Perl script or updating the database manually.
Reporter | ||
Comment 1•10 years ago
|
||
I'm just going to hack around this by setting user_regexp on the "reviewboard" group I create in the test environment. WONTFIX if you must.
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → dkl
Status: NEW → ASSIGNED
Updated•10 years ago
|
Component: Bugzilla Tweaks → WebService
Product: bugzilla.mozilla.org → Bugzilla
QA Contact: default-qa
Version: Production → 4.5.6
Updated•10 years ago
|
Severity: normal → enhancement
Component: WebService → API
Product: Bugzilla → bugzilla.mozilla.org
QA Contact: default-qa
Version: 4.5.6 → Production
Comment 2•10 years ago
|
||
Sorry, missed that this was just a backport. Anyway, no reason not to do it.
Assignee | ||
Comment 3•10 years ago
|
||
Attachment #8501943 -
Flags: review?(dylan)
Comment 4•10 years ago
|
||
Comment on attachment 8501943 [details] [diff] [review]
1079463_1.patch
Review of attachment 8501943 [details] [diff] [review]:
-----------------------------------------------------------------
r=dylan
Attachment #8501943 -
Flags: review?(dylan) → review+
Assignee | ||
Comment 5•10 years ago
|
||
To ssh://gitolite3@git.mozilla.org/webtools/bmo/bugzilla.git
3d8f65f..75e5744 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.
Description
•