Project

General

Profile

Bug #28857

The JavaScript Intl is broken in production

Added by Avi Sharvit 9 months ago. Updated 9 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
JavaScript stack
Target version:
Difficulty:
Triaged:
No
Bugzilla link:

Description

On katello react pages i’m seeing:

Error: "No translation key found." 

dcnpgettext jed.js:260

gettext jed.js:172

w I18n.js:62

h helpers.js:87

h helpers.js:87

hp katello-2979b6eb77d74a1a9a8d.js:1

value katello-2979b6eb77d74a1a9a8d.js:1

React 7

unstable_runWithPriority scheduler.production.min.js:20

React 6

a i18nProviderWrapperFactory.js:19

[react-dom.production.min.js:187:194](webpack:///.-core/node_modules/react-dom/cjs/react-dom.production.min.js)

on tasks pages i’m getting:

TypeError: "e is undefined" 
p urlHelpers.js:55
$r foreman-tasks-4687f4329e4a96cab1b7.js:1
React 6
unstable_runWithPriority scheduler.production.min.js:20
React 6
a i18nProviderWrapperFactory.js:19

Associated revisions

Revision b3cfc437 (diff)
Added by Avi Sharvit 9 months ago

Fixes #28857 - protect the Intl from code duplications

History

#1 Updated by The Foreman Bot 9 months ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/7389 added

#2 Updated by The Foreman Bot 9 months ago

  • Fixed in Releases 2.0.0 added

#3 Updated by Avi Sharvit 9 months ago

  • Status changed from Ready For Testing to Closed

#4 Updated by The Foreman Bot 9 months ago

  • Pull request https://github.com/theforeman/foreman/pull/7390 added

Also available in: Atom PDF