Bug 1961356

Summary: Update single quotes to double quotes in string
Product: OpenShift Container Platform Reporter: ralpert
Component: Management ConsoleAssignee: Steve Goodwin <sgoodwin>
Status: CLOSED ERRATA QA Contact: Yadan Pei <yapei>
Severity: low Docs Contact:
Priority: unspecified    
Version: 4.8CC: aos-bugs, jokerman, yapei
Target Milestone: ---   
Target Release: 4.8.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-07-27 23:08:46 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
double quotes in string none

Description ralpert 2021-05-17 18:43:51 UTC
Description of problem:
"Secret referenced in the {{triggerProperty}} webhook trigger does not contain 'WebHookSecretKey' key. Webhook trigger won’t work due to the invalid secret reference" in frontend/public/locales/ja/public.json should have double quotes ("") around "WebHookSecretKey." You can use them if you escape them with a backslash.

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

How reproducible:
Always

Steps to Reproduce:
1. Look at frontend/public/locales/ja/public.json

Actual results:
Single quotes

Expected results:
Double quotes 

Additional info:

Comment 2 Yadan Pei 2021-05-26 06:45:48 UTC
1. Create a secret 'simplesecret' for reference, when creating the secret don't add 'WebHookSecretKey' key.
2. Create a BuildConfig, after BC is successfully created, hen edit its YAML and add GitLab webhook sections as following 

    - type: GitLab
      gitlab:
        secretReference:
          name: "simplesecret"
3. Visit BuildConfig details page, click 'Copy URL with secret' button, an error modal will be shown, the content is pesudo translated
[Ṣḛḛͼṛḛḛţ ṛḛḛϝḛḛṛḛḛṇͼḛḛḍ ḭḭṇ ţḥḛḛ ḡḭḭţḽααḅ ẁḛḛḅḥṓṓṓṓḳ ţṛḭḭḡḡḛḛṛ ḍṓṓḛḛṡ ṇṓṓţ ͼṓṓṇţααḭḭṇ "ŴḛḛḅḤṓṓṓṓḳṢḛḛͼṛḛḛţḰḛḛẏẏ" ḳḛḛẏẏ. Ŵḛḛḅḥṓṓṓṓḳ ţṛḭḭḡḡḛḛṛ ẁṓṓṇ’ţ ẁṓṓṛḳ ḍṵṵḛḛ ţṓṓ ţḥḛḛ ḭḭṇṽααḽḭḭḍ ṡḛḛͼṛḛḛţ ṛḛḛϝḛḛṛḛḛṇͼḛḛ]


Verified on 4.8.0-0.nightly-2021-05-25-180327, the issue reported in this bug has been resolved

Comment 3 Yadan Pei 2021-05-26 06:46:28 UTC
In the error message we can see double quotes are used

Comment 4 Yadan Pei 2021-05-26 06:46:48 UTC
Created attachment 1787096 [details]
double quotes in string

Comment 7 errata-xmlrpc 2021-07-27 23:08:46 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.8.2 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:2438