Project

General

Profile

Bug #41988

mgr/dashboard: Building the frontend with --prod cause problems

Added by Anonymous over 4 years ago. Updated almost 3 years ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
i18n
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
nautilus
Regression:
No
Severity:
3 - minor
Reviewed:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

When building the frontend with the prod parameter

npm run build -- --prod
it turned out that we run into issues with the translation downstream. Some of the translations are missing, but should be there. This is not caused by the fileReplacements we do downstream for the branding, it must be a different parameter.

So, the problem will affect any vendor who is using translations in production. I guess the aot parameter need to be false.


Related issues

Related to Dashboard - Bug #42376: mgr/dashboard: Language selection issues on Firefox Resolved
Copied to Dashboard - Backport #42283: nautilus: mgr/dashboard: Building the frontend with --prod cause problems Resolved

History

#1 Updated by Nathan Cutler over 4 years ago

  • Status changed from In Progress to Fix Under Review
  • Pull request ID set to 30515

#2 Updated by Anonymous over 4 years ago

  • Description updated (diff)

#3 Updated by Anonymous over 4 years ago

It turned out when setting the aot and buildOptimizer to false that all transactions will be displayed as expected. Since those flags are also defined upstream and set to true, it will also break the translations upstream .

#4 Updated by Tatjana Dehler over 4 years ago

  • Status changed from Fix Under Review to Resolved
  • Assignee changed from Anonymous to Ricardo Dias
  • Pull request ID changed from 30515 to 30694

#5 Updated by Tatjana Dehler over 4 years ago

  • Status changed from Resolved to Pending Backport

#6 Updated by Nathan Cutler over 4 years ago

  • Copied to Backport #42283: nautilus: mgr/dashboard: Building the frontend with --prod cause problems added

#7 Updated by Lenz Grimmer over 4 years ago

  • Related to Bug #42376: mgr/dashboard: Language selection issues on Firefox added

#8 Updated by Nathan Cutler over 4 years ago

  • Status changed from Pending Backport to Resolved

While running with --resolve-parent, the script "backport-create-issue" noticed that all backports of this issue are in status "Resolved" or "Rejected".

#9 Updated by Ernesto Puerta almost 3 years ago

  • Project changed from mgr to Dashboard
  • Category changed from 147 to i18n

Also available in: Atom PDF