Bug 904729 - [webadmin] Wrong error is given when trying to decrease data center compatibility version
Summary: [webadmin] Wrong error is given when trying to decrease data center compatibi...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine-webadmin-portal
Version: 3.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 3.2.0
Assignee: Ravi Nori
QA Contact: Elad
URL:
Whiteboard: infra
Depends On:
Blocks: 948448
TreeView+ depends on / blocked
 
Reported: 2013-01-27 10:44 UTC by Ido Begun
Modified: 2016-02-10 19:28 UTC (History)
10 users (show)

Fixed In Version: sf11
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
oVirt Team: Infra
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
engine.log (1.11 MB, text/x-log)
2013-01-27 10:44 UTC, Ido Begun
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 12464 0 None None None Never

Description Ido Begun 2013-01-27 10:44:55 UTC
Created attachment 688376 [details]
engine.log

Description of problem:
A wrong error message is given when trying to decrease data center compatibility version.

Version-Release number of selected component (if applicable):
SF4 // rhevm-3.2.0-5.el6ev

How reproducible:
100%

Steps to Reproduce:
1. Create a 3.2 data center
2. Edit data center and set it to 3.1 
  
Actual results:
[Error while executing action: Cannot edit Repository. Compatibility version is invalid, previous value restored.]

Expected results:
[Error while executing action: Cannot decrease data center compatibility version.]
OR
Don't allow users to decrease compatibility version.

Additional info:
CanDoAction is reporting the correct reason of the action failure:
CanDoAction of action UpdateStoragePool failed. Reasons:VAR__TYPE__STORAGE__POOL,ACTION_TYPE_FAIL
ED_CANNOT_DECREASE_COMPATIBILITY_VERSION,VAR__ACTION__UPDATE

Comment 1 Haim 2013-01-27 10:48:30 UTC
should be blocked in UI.

Comment 3 Elad 2013-04-04 12:38:52 UTC
Checked on RHEVM-3.2 - SF12:
rhevm-webadmin-portal-3.2.0-10.17.master.el6ev.noarch

User cannot decrease data center compatibility version, the option is available.

Comment 4 Elad 2013-04-04 12:40:34 UTC
Checked on RHEVM-3.2 - SF12:
rhevm-webadmin-portal-3.2.0-10.17.master.el6ev.noarch

User cannot decrease data center compatibility version, ***the option is not available***

Comment 5 Itamar Heim 2013-06-11 08:48:18 UTC
3.2 has been released

Comment 6 Itamar Heim 2013-06-11 08:48:24 UTC
3.2 has been released

Comment 7 Itamar Heim 2013-06-11 08:48:28 UTC
3.2 has been released

Comment 8 Itamar Heim 2013-06-11 08:53:26 UTC
3.2 has been released

Comment 9 Itamar Heim 2013-06-11 09:24:05 UTC
3.2 has been released


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