Closed Bug 1079463 Opened 10 years ago Closed 10 years ago

Bugzilla::WebService::User missing update method

Categories

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

Production
enhancement
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: gps, Assigned: dkl)

Details

Attachments

(1 file)

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.
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: nobody → dkl
Status: NEW → ASSIGNED
Component: Bugzilla Tweaks → WebService
Product: bugzilla.mozilla.org → Bugzilla
QA Contact: default-qa
Version: Production → 4.5.6
Severity: normal → enhancement
Component: WebService → API
Product: Bugzilla → bugzilla.mozilla.org
QA Contact: default-qa
Version: 4.5.6 → Production
Sorry, missed that this was just a backport. Anyway, no reason not to do it.
Attached patch 1079463_1.patchSplinter Review
Attachment #8501943 - Flags: review?(dylan)
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+
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.

Attachment

General

Created:
Updated:
Size: