Bug 1414126
Summary: | UI error on 'wipe' and 'discard' being mutually exclusive is unclear and appears too late | |||
---|---|---|---|---|
Product: | [oVirt] ovirt-engine | Reporter: | Yaniv Kaul <ykaul> | |
Component: | Frontend.WebAdmin | Assignee: | Idan Shaby <ishaby> | |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Kevin Alon Goldblatt <kgoldbla> | |
Severity: | medium | Docs Contact: | ||
Priority: | unspecified | |||
Version: | 4.1.0 | CC: | amureini, bugs, ishaby, ratamir, tnisan | |
Target Milestone: | ovirt-4.1.1 | Flags: | rule-engine:
ovirt-4.1+
|
|
Target Release: | 4.1.1 | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | If docs needed, set a value | ||
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1436160 (view as bug list) | Environment: | ||
Last Closed: | 2017-04-21 09:38:43 UTC | Type: | Bug | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | Storage | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | ||||
Bug Blocks: | 1436160 |
Description
Yaniv Kaul
2017-01-17 20:31:20 UTC
Generally for simple validations that don't require too much data from the backend or more complicated logic duplication we do them in the UI (e.g. data center is lower than version X so we disable feature Y) while for validations that require more logic or querying more data we validate them in the validation part of the command after it has been executed and close the pop up for better user experience, this behavior exists in many of the other pop ups as well. Idan, can you please check if it is feasible to validate the discard support within the client? If not we can maybe extract it to a validation backend query prior to running the command and closing the pop up, it makes no sense for the user to lose all the new disk data he entered just because of the discard When I'm trying to add a new disk to VM, the checkbox is grayed out and a message saying that the underlying storage is not supported discard. This is not true because the fix depends on the storage domain discard flag enabled or not. In my case, the storage domain's discard is disabled (the underlying storage supports discard) but still, the same message appears. Idan, Should I reopen it? or you will submit another patch? After discussed with Idan, I will open a new bug Verified on rhevm-4.1.1.8-0.1.el7 |