Allon Mureinik has uploaded a new change for review.

Change subject: core: [DO NOT SUMBIT] Default quota name
......................................................................

core: [DO NOT SUMBIT] Default quota name

The default quota will be called "DefalutQuota-dcXXX".
When updating a previously default quota, the user will be foreced to
change its name, and an additional validation is added to both the
UpdateQuota and AddQuota commands so a non-default quota won't have the
name of default quota.

NOTE: DO NOT SUBMIT this patch until a coresponding frontend patch is
created that will force the user to rename the quota in the UI instead
of just failing on a validation message.

Change-Id: I3c58f42a28a21ebe4fdacf09647fe085327b6437
---
A backend/manager/dbscripts/upgrade/03_01_0910_fix_default_quota_name.sql
M 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/QuotaHelper.java
M 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/UpdateQuotaCommand.java
M 
backend/manager/modules/bll/src/test/java/org/ovirt/engine/core/bll/QuotaHelperTest.java
M 
backend/manager/modules/dal/src/main/java/org/ovirt/engine/core/dal/VdcBllMessages.java
M backend/manager/modules/dal/src/main/resources/bundles/AppErrors.properties
M 
frontend/webadmin/modules/frontend/src/main/java/org/ovirt/engine/ui/frontend/AppErrors.java
M 
frontend/webadmin/modules/userportal-gwtp/src/main/resources/org/ovirt/engine/ui/frontend/AppErrors.properties
M 
frontend/webadmin/modules/userportal/src/main/resources/org/ovirt/engine/ui/frontend/AppErrors.properties
M 
frontend/webadmin/modules/webadmin/src/main/resources/org/ovirt/engine/ui/frontend/AppErrors.properties
10 files changed, 66 insertions(+), 114 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/73/3673/1
--
To view, visit http://gerrit.ovirt.org/3673
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I3c58f42a28a21ebe4fdacf09647fe085327b6437
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Allon Mureinik <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to