Red Hat Bugzilla – Bug 851198
ovirt-engine-backend [TEXT]: please remove the word "Action" from attach/detach CanDoAction
Last modified: 2016-02-10 15:24:04 EST
Created attachment 606563 [details]
Description of problem:
Cannot Dettach Action from Virtual Machine Disk. The VM status is illegal.
Cannot attach Action to Virtual Machine Disk. Disk is Illegal. Illegal disks can only be deleted.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. attach: try to attach a disk which is in illegal state or two bootable disks to the same vm
2. detach: try to detach a disk while running the vm at the same time.
both attach and detach have the word "Action" in the CanDoAction
we should remove the work "Action" from CanDoAction
(In reply to comment #0)
> Created attachment 606563 [details]
> Description of problem:
> Cannot Dettach Action from Virtual Machine Disk. The VM status is illegal.
Need to fix:
@DefaultStringValue("$action attach Action to")
@DefaultStringValue("$action Dettach Action from")
Also note that "Dettach" should be written: "detach"
Note that the .properties file(s) should probably be changed, rather than the default values in the java file(s) with the Constants interface (we would like to get rid of the defaults within the code eventually).
this is actually wrong in user portal as well,
Patch submitted: http://gerrit.ovirt.org/#/c/7880/
Fixed in all relevant locations.
verified on si21.1
tested on two bootable disks since illegal are filtered by UI
*** Bug 833900 has been marked as a duplicate of this bug. ***