| Summary: | When adding BC env with same name, we got different result from BC environment tab and BC edit page | ||
|---|---|---|---|
| Product: | OKD | Reporter: | Yadan Pei <yapei> |
| Component: | Management Console | Assignee: | bpeterse |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Yadan Pei <yapei> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 3.x | CC: | aos-bugs, jforrest, mmccomas |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| 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: | 2016-09-19 13:55:43 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: | |
merging to origin in https://github.com/openshift/origin/pull/10605 Checked against origin-web-console(based on latest origin-web-console commit 'd24e068') Now after adding envs with same name at BC environmenttab, edit/builds page shows all envs Move to VERIFIED |
Description of problem: When adding BC env with same name, we got different result from BC environment tab and BC edit page Version-Release number of selected component (if applicable): openshift v1.3.0-alpha.3+31f6add-dirty(based on latest origin-web-console commit at 1c4709f) kubernetes v1.3.0+507d3a7 etcd 2.3.0+git How reproducible: Always Steps to Reproduce: 1.Create app from image on web console 2.Go to Builds -> Environment tab 3.Add one pair of Name/Value bcname:bcvalue1 4.Add another pair of Name/Value with same Name, bcname:bcvalue1update 5.Click "Actions -> Edit" to go to edit/builds page 6.Check BC environment via CLI # oc get bc <bcname> -o yaml <..snip...> env: - name: bcname value: bcvalue1 - name: bcname value: bcvalue1update <..snip...> Actual results: 4.On Builds Environment tab, two pairs of Name/Value are shown: bcname:bcvalue1, bcname:bcvalue1update 5.Only one pair of Name/Value is displayed: bcname:bcvalue1update 6.Two pairs of Name/Value are shown Expected results: Should get the same result for 4,5,6 Additional info: