Bug 1743872 - MIG UI: Paging of namespace is showing duplication in checkbox value.
Summary: MIG UI: Paging of namespace is showing duplication in checkbox value.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Migration Tooling
Version: 4.2.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 4.2.0
Assignee: Erik Nelson
QA Contact: Xin jiang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-08-20 21:13 UTC by Roshni
Modified: 2019-10-30 04:45 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-10-30 04:44:54 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Page 1 (54.06 KB, image/png)
2019-08-20 21:13 UTC, Roshni
no flags Details
page 2 (55.41 KB, image/png)
2019-08-20 21:14 UTC, Roshni
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2019:3151 0 None None None 2019-10-30 04:45:04 UTC

Description Roshni 2019-08-20 21:13:28 UTC
Created attachment 1606276 [details]
Page 1

Description of problem:
MIG UI: Namespace selection is duplicated in all the pages based on the selection in the first page.

Version-Release number of selected component (if applicable):
# oc describe pod/migration-ui-78864fbcfc-mn286 -n openshift-migration-operator| grep Image
    Image:          quay.io/ocpmigrate/mig-ui:latest
    Image ID:       quay.io/ocpmigrate/mig-ui@sha256:94c28ae24865174480b92e4a62bf5e886e94c6f3236ec84a1f80f9bd3b044f6a

# oc describe pod/migration-operator-d6c49d6b-zg222 -n openshift-migration-operator| grep Image
    Image:         quay.io/ocpmigrate/mig-operator:latest
    Image ID:      quay.io/ocpmigrate/mig-operator@sha256:e81b8ee3ae8572b6562e308ee7b7b74e86a6914f1468830cd1f5d8e0372f1888

How reproducible:
always

Steps to Reproduce:
1. Create 10 projects on an OCP 3 cluster.
2. In the migration plan wizard of UI, select the page size to 5 rows.
3. Check 3 namespaces and click next to go to the next page of namespaces.


Actual results:
3 namespaces are selected on the next page. Uncheck the namespaces on the page 2 and come back to page 1. The 3 namespaces on page 1 are unchecked.

Expected results:
Checkboxes should not be checked if not checked by user. 

Additional info:
Attaching screenshots

Comment 1 Roshni 2019-08-20 21:14:12 UTC
Created attachment 1606277 [details]
page 2

Comment 2 Ian 2019-08-21 13:22:46 UTC
As we begin to add edit functionality, the reliance on step 2 to submit the migplan will change. Currently, the migplan is submitted based on the values selected in step 2. There is no way to re-submit the migplan & change those values at this point aside from closing the wizard and starting over.

Comment 3 Erik Nelson 2019-08-30 14:15:10 UTC
Fixed by https://github.com/fusor/mig-ui/pull/503

Comment 4 Zhang Cheng 2019-10-14 07:16:47 UTC
Xin Jiang,

Please help to verify since Roshni is in vacation. Thanks.

Comment 5 Xin jiang 2019-10-15 08:28:48 UTC
Verified.

Comment 7 errata-xmlrpc 2019-10-30 04:44:54 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/RHBA-2019:3151


Note You need to log in before you can comment on or make changes to this bug.