-
Bug
-
Resolution: Duplicate
-
Normal
-
None
-
4.10
-
Low
-
None
-
Rejected
-
Unspecified
-
If docs needed, set a value
Description of problem:
When the user imports more than one resource from YAML and saw the result page, the import YAML button in the navigation bar doesn't work.
Version-Release number of selected component (if applicable):
4.10 (might be earlier as well)
How reproducible:
Always
Steps to Reproduce:
1. Navigate via the navigation bar to the import YAML page
2. Import some YAML, for example:
apiVersion: v1
kind: Pod
metadata:
generateName: example-
spec:
containers:
- name: httpd
image: 'image-registry.openshift-image-registry.svc:5000/openshift/httpd:latest'
ports: - containerPort: 8080
—
apiVersion: v1
kind: Pod
metadata:
generateName: example-
spec:
containers: - name: httpd
image: 'image-registry.openshift-image-registry.svc:5000/openshift/httpd:latest'
ports: - containerPort: 8080
3. Press create to import the YAML.
4. Try to navigate to the import YAML page in the navigation bar again...
Actual results:
Nothing happens, the button looks broken.
Expected results:
The YAML editor should be shown again.
Additional info:
This happens because the result's URL is the same and the URL path doesn't change.
One solution might be to push a route /import/result or /import/summary after clicking on create.