-
Bug
-
Resolution: Done
-
Normal
-
openshift-4.9
-
False
-
False
-
0
-
undefined
-
Not Supported
-
ODC Sprint 206
-
Low
Description of problem:
When the user opens the new BuildConfig form, switches to the YAML editor and inserts a sample YAML nothing happen (in production mode) and shows a fullscreen error (in dev mode).
The BuildConfig and other yaml editors must now show samples in the sidebar when the user edits a resource. This happen on the BuildConfig form page, but also in the Pipelines Builder.
Prerequisites (if any, like setup, operators/versions):
None
Steps to Reproduce
- Open developer perspective and import a deployment from git
- Switch to Builds, and select "Edit BuildConfig" for the new created BuildConfig.
- Switch to the YAML view
- Open the sidebar and switch to Samples tab
- Press "Try it" for one of the examples.
Actual results:
Nothing happen (in production mode) and shows a fullscreen error (in dev mode)
Expected results:
The console should insert the yaml but also should not show samples if the users edits a resource.
Reproducibility (Always/Intermittent/Only Once):
Always
Build Details:
4.9 master (tested with 5a03b49462d0f3b1b35409814ae722f96c753cf3)
Additional info:
None
- is duplicated by
-
ODC-6294 Trying to load samples on build config edit page crashes the UI
- Closed
- links to