Project

General

Profile

Actions

Bug #25517

closed

Debian packages don't build localized js files

Added by Nicolas Boulanger over 5 years ago. Updated about 5 years ago.

Status:
Closed
Priority:
High
Assignee:
-
Category:
Packaging
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

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 !


Related issues 1 (0 open1 closed)

Related to Foreman - Bug #25523: make i18n js code more resilient to errorsClosedTomer BriskerActions
Actions #1

Updated by Tomer Brisker over 5 years ago

  • Category set to Web Interface

This appears to occur when using a non-english locale.

Actions #2

Updated by Tomer Brisker over 5 years ago

This only affects debian packeges, rpms work fine.

Actions #3

Updated by Tomer Brisker over 5 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

Actions #4

Updated by Nicolas Boulanger over 5 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 !

Actions #5

Updated by Ohad Levy over 5 years ago

interesting, this looks very similar to #25467 (might be a dup)

Actions #6

Updated by Tomer Brisker over 5 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.

Actions #7

Updated by Tomer Brisker over 5 years ago

  • Related to Bug #25523: make i18n js code more resilient to errors added
Actions #8

Updated by Tomer Brisker about 5 years ago

  • Target version set to 1.20.1
Actions #9

Updated by Tomer Brisker about 5 years ago

  • Triaged changed from No to Yes
Actions #10

Updated by Tomer Brisker about 5 years ago

  • Subject changed from No picture, missing dashboard to Debain packages don't build localized js files

updating title to reflect issue

Actions #11

Updated by The Foreman Bot about 5 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Anonymous
  • Pull request https://github.com/theforeman/foreman-packaging/pull/3266 added
Actions #12

Updated by Anonymous about 5 years ago

  • Subject changed from Debain packages don't build localized js files to Deaain packages don't build localized js files
Actions #13

Updated by Anonymous about 5 years ago

  • Subject changed from Deaain packages don't build localized js files to Debian packages don't build localized js files
Actions #14

Updated by Anonymous about 5 years ago

  • Fixed in Releases 1.20.1 added
Actions #15

Updated by Anonymous about 5 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF