Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1778916

Summary: [MIG-UI] Plans can be edited while running or closed
Product: OpenShift Container Platform Reporter: Erik Nelson <ernelson>
Component: Migration ToolingAssignee: Ian <ibolton>
Status: CLOSED ERRATA QA Contact: Xin jiang <xjiang>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.2.0CC: chezhang, dymurray, ernelson, jmatthew, rpattath, sregidor, 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: 1776918 Environment:
Last Closed: 2020-02-06 20:20:49 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1776918    

Description Erik Nelson 2019-12-02 19:19:26 UTC
+++ This bug was initially created as a clone of Bug #1776918 +++

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 John Matthews 2019-12-12 12:20:46 UTC
Fixed in https://github.com/fusor/mig-ui/pull/625

Comment 5 Sergio 2020-01-14 10:32:57 UTC
Verified in CAM 1.1 from osbs
    image: image-registry.openshift-image-registry.svc:5000/rhcam-1-1/openshift-migration-ui-rhel8@sha256:3793634100daf82b84b3174811b262f7dc5f4fff111265ccffa4c0cb9ffe0421

Now migration plans cannot be edited when finished or while running.

Comment 7 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