Closed
Bug 1334847
Opened 8 years ago
Closed 8 years ago
API v2 user page requests switch randomly between locales
Categories
(Participation Infrastructure :: Phonebook, defect)
Participation Infrastructure
Phonebook
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: flaki, Unassigned)
References
()
Details
Attachments
(1 file)
4.60 KB,
text/plain
|
Details |
The profile URL-s that are returned in the '_url' field of any API v2 listing return using a seemingly random/unpredictable locale, which affects some URL-s (like public profile URL-s), but also more importantly, they affect labels in the privacy attribute, turning them for example "Iepenbier" in the "fy-NL" locale, or chinese versions in the zh-CN locale.
This seemingly random behavior makes machine processing of these returned API results difficult, if not impossible - I have also not been able to find a URL parameter that would lock the API into a specific locale.
I have attached a sample response in Ukrainian(?) locale to illustrate the issue.
Comment 1•8 years ago
|
||
Should be fixed after:
https://github.com/mozilla/mozillians/commit/d6c24501fbc76933cea40203e1dddb5f0d83cbe6
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•