Bug #25517
closed
Debian packages don't build localized js files
Added by Nicolas Boulanger about 6 years ago.
Updated about 6 years ago.
Description
Hello,
since my upgrade > 1.19 to 1.20 i lost my dashboard
no picture is showing, only text, and lost of feature is missing
Distributor ID: Debian
Description: Debian GNU/Linux 9.6 (stretch)
Release: 9.6
Codename: stretch
Upgrade step:
modify sources.list with 1.20 version then apt upgrade, and reboot server
https://imgur.com/a/m7TFver
thanks !
- Category set to Web Interface
This appears to occur when using a non-english locale.
This only affects debian packeges, rpms work fine.
- Found in Releases 1.20.0 added
A possible workaround until this issue is resolved is to change the locale to English, either by changing the user setting or appending ?locale=en to the end of the url
Tomer Brisker wrote:
A possible workaround until this issue is resolved is to change the locale to English, either by changing the user setting or appending ?locale=en to the end of the url
works with ?locale=en
will be fixed with fr language ? :)
Thanks !
interesting, this looks very similar to #25467 (might be a dup)
- Category changed from Web Interface to Packaging
Further investigation seems to indicate the the assets/javascript/locale folder is missing in debian install causing the i18n code to fail when it doesn't find the matching file.
I opened #25523 to make the JS code more resilient, and keeping this one to fix the debain packaging issue so the js translations are shipped.
- Related to Bug #25523: make i18n js code more resilient to errors added
- Target version set to 1.20.1
- Triaged changed from No to Yes
- Subject changed from No picture, missing dashboard to Debain packages don't build localized js files
updating title to reflect issue
- Status changed from New to Ready For Testing
- Assignee set to Anonymous
- Pull request https://github.com/theforeman/foreman-packaging/pull/3266 added
- Subject changed from Debain packages don't build localized js files to Deaain packages don't build localized js files
- Subject changed from Deaain packages don't build localized js files to Debian packages don't build localized js files
- Fixed in Releases 1.20.1 added
- Status changed from Ready For Testing to Closed
Also available in: Atom
PDF