Bug 1255089

Summary: Quota error message for invalid size of description is not informative enough
Product: [oVirt] ovirt-engine Reporter: Tomer Saban <tsaban>
Component: Frontend.WebAdminAssignee: bugs <bugs>
Status: CLOSED WONTFIX QA Contact: meital avital <mavital>
Severity: low Docs Contact:
Priority: unspecified    
Version: ---CC: bugs, dfediuck, gklein, lsurette, mgoldboi, rbalakri, srevivo, ykaul
Target Milestone: ---Keywords: Improvement, StringChange
Target Release: ---Flags: sbonazzo: ovirt-4.1-
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-11-23 11:30:42 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: SLA RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Tomer Saban 2015-08-19 14:59:40 UTC
Description of problem:
When Creating/Changing Quota the error message for invalid size of description of the quota is not informative enough. It tells that the size is invalid but not telling it's the size of the description.

How reproducible:
100%

Steps to Reproduce:
1. On some Data center enable audit quota.
2. Create a quota with the following string as quota description:
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa

(This are 257 'a' characters, while the limit is 250 for description)

Results:
Error message appears "Error while executing action: size must be between 1 and 250"

This error message is caused by too long description(more than 250 characters). it should be changed to something more informative.

Comment 1 Red Hat Bugzilla Rules Engine 2015-10-19 10:57:44 UTC
Target release should be placed once a package build is known to fix a issue. Since this bug is not modified, the target version has been reset. Please use target milestone to plan a fix for a oVirt release.

Comment 3 Doron Fediuck 2016-11-23 11:30:42 UTC
Closing due to capacity constraints.
If needed patches are welcomed.