Closed
Bug 1283392
Opened 9 years ago
Closed 6 years ago
Query for history or comment containing private bug id should return no data for this bug
Categories
(bugzilla.mozilla.org :: API, defect, P2)
Tracking
()
RESOLVED
FIXED
People
(Reporter: calixte, Assigned: kohei)
References
Details
Attachments
(1 file)
curl "https://bugzilla.mozilla.org/rest/bug/123457/history?ids=123456" => error
curl "https://bugzilla.mozilla.org/rest/bug?id=123456&id=123457" => ok: no data for bug 123456
In the first case, only history of bug 123457 should be returned.
| Assignee | ||
Comment 1•9 years ago
|
||
Yea that's a known issue affecting BzDeck as well ;)
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
Updated•9 years ago
|
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
| Assignee | ||
Updated•6 years ago
|
Assignee: webservice → nobody
Status: REOPENED → NEW
Component: WebService → API
Product: Bugzilla → bugzilla.mozilla.org
QA Contact: default-qa
Version: unspecified → Production
| Assignee | ||
Updated•6 years ago
|
Assignee: nobody → kohei.yoshino
Priority: -- → P1
| Assignee | ||
Updated•6 years ago
|
Status: NEW → ASSIGNED
| Assignee | ||
Comment 3•6 years ago
|
||
| Assignee | ||
Comment 4•6 years ago
•
|
||
Adjusting the priority since a workaround has been in place in libmozdata.
I’m adding the new skip_private param to both the history and comment APIs while retaining the current throwing behaviour, otherwise CircleCI tests will fail. This will no longer throw once this change is deployed:
https://bugzilla.mozilla.org/rest/bug/123457/history?ids=123456&skip_private=1
Priority: P1 → P2
Comment 5•6 years ago
|
||
The same problem applies to attachments too.
| Assignee | ||
Comment 6•6 years ago
|
||
Merged to master. I missed Marco’s comment; will file a new bug for that.
Status: ASSIGNED → RESOLVED
Closed: 9 years ago → 6 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•