Bug #25517
Debian packages don't build localized js files
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
thanks !
Related issues
Associated revisions
History
#1
Updated by Tomer Brisker about 2 years ago
- Category set to Web Interface
This appears to occur when using a non-english locale.
#2
Updated by Tomer Brisker about 2 years ago
This only affects debian packeges, rpms work fine.
#3
Updated by Tomer Brisker about 2 years ago
- 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
#4
Updated by Nicolas Boulanger about 2 years ago
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 !
#5
Updated by Ohad Levy about 2 years ago
interesting, this looks very similar to #25467 (might be a dup)
#6
Updated by Tomer Brisker about 2 years ago
- 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.
#7
Updated by Tomer Brisker about 2 years ago
- Related to Bug #25523: make i18n js code more resilient to errors added
#8
Updated by Tomer Brisker about 2 years ago
- Target version set to 1.20.1
#9
Updated by Tomer Brisker about 2 years ago
- Triaged changed from No to Yes
#10
Updated by Tomer Brisker about 2 years ago
- Subject changed from No picture, missing dashboard to Debain packages don't build localized js files
updating title to reflect issue
#11
Updated by The Foreman Bot about 2 years ago
- Assignee set to Anonymous
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman-packaging/pull/3266 added
#12
Updated by Anonymous about 2 years ago
- Subject changed from Debain packages don't build localized js files to Deaain packages don't build localized js files
#13
Updated by Anonymous about 2 years ago
- Subject changed from Deaain packages don't build localized js files to Debian packages don't build localized js files
#14
Updated by Anonymous about 2 years ago
- Fixed in Releases 1.20.1 added
#15
Updated by Anonymous about 2 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset rpms:foreman-packaging|60198495dec53ed14362b17b8e838912f8bbd7ef.
Fixes #25517 - run locale:pack separately