Bug 1904244 - MissingKey errors for two plugins using i18next.t
Summary: MissingKey errors for two plugins using i18next.t
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Console Storage Plugin
Version: 4.7
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 4.7.0
Assignee: Afreen
QA Contact: Ben Eli
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-12-03 22:02 UTC by ralpert
Modified: 2021-02-24 15:39 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-02-24 15:37:53 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Error messages in console (79.73 KB, image/png)
2020-12-03 22:02 UTC, ralpert
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github openshift console pull 7454 0 None closed Bug 1904244: Drop usage of i18next.t from plugin.ts files 2021-02-08 11:55:12 UTC
Red Hat Product Errata RHSA-2020:5633 0 None None None 2021-02-24 15:39:59 UTC

Description ralpert 2020-12-03 22:02:03 UTC
Created attachment 1736219 [details]
Error messages in console

Description of problem:
This is also being reported by @dtaylor. 

noobaa-storage-plugin and ceph-storage-plugin are using i18next.t to internationalize some parts of the plugins. This is causing missingKey errors and other warnings/error messages.

Version-Release number of selected component (if applicable):
4.7

How reproducible:
Always.

Steps to Reproduce:
1. Look at console on Pods page.
2. You will see error messages related to the keys using i18next.t.

Actual results:
There are error messages.

Expected results:
There will be no error messages.

Additional info:
Zac Herman <zherman> ran into this on the Management console team earlier. He was able to fix it by following examples by and talking to Cyril Ajieh <cajieh>. I recommend reaching out to them to see how they handled it.

Comment 1 David Taylor 2020-12-03 22:07:37 UTC
Note there is a % syntax for plugins which I believe is prefered over 'i18next.t':

https://github.com/openshift/console/pull/7234

https://github.com/openshift/console/pull/7234/files#diff-156be98ff5262235eaa6b641d8101f181bb90192d54e8c6a47aeabb5ddfe5e81

Comment 7 errata-xmlrpc 2021-02-24 15:37:53 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: OpenShift Container Platform 4.7.0 security, bug fix, and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2020:5633


Note You need to log in before you can comment on or make changes to this bug.