Description of problem: A bug a react-helmet results in an unexpected comma being output to page <title>s when there is an expression in the <title>. See https://github.com/nfl/react-helmet/issues/408. See https://github.com/nfl/react-helmet/issues/408#issuecomment-499763409 for workaround. Steps to Reproduce: 1. Visit /monitoring/alertmanagerconfig/receivers/~new 2. Note the <title> is `Create, Receiver` 3. The comma is not desired or expected. Actual results: An unexpected comma is present in the title. Expected results: No comma should be included in the title. Additional info: There may be other instances of this bug.
A quick search of the code base shows no other instances of the bug.
goes to /monitoring/alertmanagerconfig/receivers/~new page, the title is `Create Receiver · Red Hat OpenShift Container Platform`, no comma Moving to VERIFIED on 4.6.0-0.nightly-2020-09-28-171716
Also grep among the code base $ grep -nr '<Helmet>' -A1 frontend/public/ Checked some other pages when there is an expression in <title> element, such as <title>{`${name || SilenceResource.label} · Details`}</title> <title>{`${name} · ${heading}`}</title>
Thanks, Yadan. Those other instances are okay because they are within template literals (``), which is the workaround.
Got it : )
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 (OpenShift Container Platform 4.6 GA Images), 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/RHBA-2020:4196