Bug 1790966

Summary: [MIG-UI] Edit plan shows wrong information
Product: OpenShift Container Platform Reporter: Sergio <sregidor>
Component: Migration ToolingAssignee: Danil Grigorev <dgrigore>
Status: CLOSED ERRATA QA Contact: Sergio <sregidor>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.3.0CC: chezhang, dgrigore, ernelson, rpattath, whu, xjiang
Target Milestone: ---   
Target Release: 4.3.0   
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: 2020-02-06 20:20:49 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:
Embargoed:

Description Sergio 2020-01-14 15:47:20 UTC
Description of problem:
When there are more 2 or more plans created, the information displayed in the "Edit" screen is not right


Version-Release number of selected component (if applicable):
CAM 1.1 from osbs

image: image-registry.openshift-image-registry.svc:5000/rhcam-1-1/openshift-migration-ui-rhel8@sha256:3793634100daf82b84b3174811b262f7dc5f4fff111265ccffa4c0cb9ffe0421


How reproducible:
Always

Steps to Reproduce:
1. Create a plan "plan1" and select a namespace "namespace1"
2. Create a plan "plan2" and select a namespace "namespace2"
3. Edit plan "plan2"

Actual results:
The information displayed when we try to edit "plan2" is the information regarding "plan1", and not the right one.

Expected results:
When we edit "plan2" the information displayed should be that one of "plan2".

Additional info:

Comment 1 Danil Grigorev 2020-01-14 18:41:03 UTC
PR to fix: https://github.com/fusor/mig-ui/pull/653

Comment 2 Danil Grigorev 2020-01-14 18:41:26 UTC
PR to fix: https://github.com/fusor/mig-ui/pull/653

Comment 5 Danil Grigorev 2020-01-17 13:47:46 UTC
Taking this issue again after yesterdays discussion, as a fix for a wider scope problem is here: https://github.com/fusor/mig-ui/pull/655

Comment 7 Sergio 2020-01-22 09:27:41 UTC
Verified in CAM 1.1 stage
UI:
    image: registry.stage.redhat.io/rhcam-1-1/openshift-migration-ui-rhel8@sha256:ecd81e11af0a17bfdd4e6afce1bf60f422115ed3545ad2b0d055f0fded87e422

Comment 9 errata-xmlrpc 2020-02-06 20:20:49 UTC
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, 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/RHEA-2020:0440