Actions
Bug #10662
closedForeman apidoc index shows mixed language translations
Description
Tested on Foreman 1.8.0 api v2 with firefox and chrome.
The api shows asian characters when using JSONView plugin.
Example: http://imgur.com/LkPjNXs
Updated by Xavier Naveira over 9 years ago
This issue presents itself when querying the api root page: https://foreman.domain.ext/api/v2/
Updated by Dominic Cleal over 9 years ago
- Subject changed from Foreman api output shows asian characters when using JSONView plugin to Foreman apidoc index shows mixed language translations
I suspect the locale isn't initialised properly from within the apipie-rails controller, as we normally do it in a before_filter on our own controllers.
Also I see this on http://foreman.example.com/apidoc/v2.html which I suppose ought to be English (there are also per-language pages).
Updated by Dominic Cleal almost 9 years ago
- Status changed from New to Assigned
- Assignee set to Dominic Cleal
Updated by The Foreman Bot almost 9 years ago
- Status changed from Assigned to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/3212 added
Updated by Dominic Cleal almost 9 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset f3582159e2bc0cb5cd01741598e6f9a883d8fb9f.
Updated by Dominic Cleal almost 9 years ago
- Translation missing: en.field_release set to 71
Actions