Bug 1776918 - [MIG-UI] Plans can be edited while running or closed
Summary: [MIG-UI] Plans can be edited while running or closed
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Migration Tooling
Version: 4.2.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 4.2.z
Assignee: John Matthews
QA Contact: Sergio
URL:
Whiteboard:
Depends On: 1778916
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-11-26 15:08 UTC by Sergio
Modified: 2019-12-11 22:36 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1778916 (view as bug list)
Environment:
Last Closed: 2019-12-11 22:36:10 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
screenshot (35.52 KB, image/png)
2019-11-26 15:08 UTC, Sergio
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2019:4093 0 None None None 2019-12-11 22:36:16 UTC

Description Sergio 2019-11-26 15:08:32 UTC
Created attachment 1639860 [details]
screenshot

Description of problem:
The "Edit" button on the right of the plan is active while the plan is running, and it is possible to edit the plan in the middle of a migration execution.
If the plan is closed we can edit it too, and it should not be possible.

Version-Release number of selected component (if applicable):
release 1.0.1 version in rh-osbs repositories
    image: image-registry.openshift-image-registry.svc:5000/rhcam-1-0/openshift-migration-ui-rhel8@sha256:5e04d383b3796982aaf366c7bb6742661bc4b4964a326ee8db20c533f1831342


How reproducible:
Always

Steps to Reproduce:
1. Create a migration plan
2. Execute it
3. While it is running, click on the "Edit" button on the right of the plan.

Actual results:
We can edit the plan while it is running

Expected results:
The "Edit" button should be disabled while the migration plan is running.

Additional info:

An screenshot attached.

Comment 1 Erik Nelson 2019-12-03 16:32:58 UTC
Upstream fix: https://github.com/fusor/mig-ui/pull/625

Comment 3 Sergio 2019-12-04 18:09:53 UTC
Verified in 1.0.1 version stored in stage repository.

Closed plans cannot be edited anymore.

Comment 5 errata-xmlrpc 2019-12-11 22:36:10 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:4093


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