Bug 1904244

Summary: MissingKey errors for two plugins using i18next.t
Product: OpenShift Container Platform Reporter: ralpert
Component: Console Storage PluginAssignee: Afreen <afrahman>
Status: CLOSED ERRATA QA Contact: Ben Eli <belimele>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.7CC: aos-bugs, dtaylor, nthomas, rperiyas
Target Milestone: ---   
Target Release: 4.7.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-02-24 15:37:53 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Error messages in console none

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