Bug 1997168 - Remove unused variable in parser config file
Summary: Remove unused variable in parser config file
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console
Version: 4.9
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: 4.9.0
Assignee: ralpert
QA Contact: Mehul Modi
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-08-24 14:30 UTC by ralpert
Modified: 2021-10-18 17:48 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-10-18 17:48:56 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift console pull 9869 0 None None None 2021-08-24 14:42:48 UTC
Red Hat Product Errata RHSA-2021:3759 0 None None None 2021-10-18 17:48:58 UTC

Description ralpert 2021-08-24 14:30:26 UTC
Description of problem:
There is an unused FALLBACK_LOCALE variable exported in i18next-parser.config.js. We should remove it since it's just fossil code at this point. We have removed usage of the variable elsewhere in the application.

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

How reproducible:
Always

Steps to Reproduce:
1. Look at i18next-parser.config.js

Actual results:
There is a FALLBACK_LOCALE variable that is created and exported.

Expected results:
There is no FALLBACK_LOCALE variable since it is not being used.

Comment 3 Mehul Modi 2021-09-01 01:48:42 UTC
Verified by code inspection of https://github.com/openshift/console/blob/master/frontend/i18next-parser.config.js

Comment 6 errata-xmlrpc 2021-10-18 17:48:56 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.9.0 bug fix and security 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-2021:3759


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