-
Bug
-
Resolution: Done
-
Major
-
4.19.0
-
None
-
Quality / Stability / Reliability
-
False
-
-
None
-
Critical
-
None
-
None
-
None
-
None
-
Done
-
Release Note Not Required
-
N/A
-
None
-
None
-
None
-
None
This is a clone of issue OCPBUGS-44991. The following is the description of the original issue:
—
Description of problem:
CSP violations caused by plugins are not being properly displayed in the console because the "hasCSPViolation" flag is not being set in the plugin store when a violation is detected. This was a regression introduced by https://github.com/openshift/console/pull/14486 during a rebase.
Version-Release number of selected component (if applicable):
4.19
How reproducible:
always
Steps to Reproduce:
1. Deploy a cluster with tech preview feature set enabled 2. Follow instructions in the console dynamic plugin demo to deploy it on the cluster, but modify the image in oc-manifest.yaml to use "quay.io/yapei/console-demo-plugin-csp:latest". 3. Visit the first Demo Plugin > Dynamic Nav 1 in the nav bar 4. Visit the overview page 5. Click the plugin status item on the overview page
Actual results:
No CSP violations are surfaced to the overview page
Expected results:
CSP violation status should be shown on the overview page
Additional info:
- clones
-
OCPBUGS-44991 Plugin store "hasCSPViolation" is not being set
-
- Closed
-
- is blocked by
-
OCPBUGS-44991 Plugin store "hasCSPViolation" is not being set
-
- Closed
-
- links to