Project

General

Profile

Bug #25517

Debian packages don't build localized js files

Added by Nicolas Boulanger 4 months ago. Updated 4 months ago.

Status:
Closed
Priority:
High
Assignee:
Category:
Packaging
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Team Backlog:
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

Related to Foreman - Bug #25523: make i18n js code more resilient to errorsClosed

Associated revisions

Revision 60198495 (diff)
Added by Michael Moll 4 months ago

Fixes #25517 - run locale:pack separately

History

#1 Updated by Tomer Brisker 4 months ago

  • Category set to Web Interface

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

#2 Updated by Tomer Brisker 4 months ago

This only affects debian packeges, rpms work fine.

#3 Updated by Tomer Brisker 4 months 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 4 months 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 4 months ago

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

#6 Updated by Tomer Brisker 4 months 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 4 months ago

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

#8 Updated by Tomer Brisker 4 months ago

  • Target version set to 1.20.1

#9 Updated by Tomer Brisker 4 months ago

  • Triaged changed from No to Yes

#10 Updated by Tomer Brisker 4 months 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 4 months ago

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

#12 Updated by Michael Moll 4 months ago

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

#13 Updated by Michael Moll 4 months ago

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

#14 Updated by Michael Moll 4 months ago

  • Fixed in Releases 1.20.1 added

#15 Updated by Michael Moll 4 months ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF