Bug 988051
Summary: | We get enum message instead of a text one when putting a negative number in "Maximum number of VMs per user" | ||||||
---|---|---|---|---|---|---|---|
Product: | [Retired] oVirt | Reporter: | Maor <mlipchuk> | ||||
Component: | ovirt-engine-core | Assignee: | Martin Betak <mbetak> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | |||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | unspecified | CC: | acathrow, iheim, michal.skrivanek | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | virt | ||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2013-08-01 21:17:12 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
The enum value VALIDATION_VM_POOLS_NUMBER_OF_MAX_ASSIGNED_VMS_OUT_OF_RANGE was replaced by VALIDATION.VM_POOLS.NUMBER_OF_MAX_ASSIGNED_VMS_OUT_OF_RANGE in 9e029f322b13409243f814c98159a8a676dd3ef5 and since this patch it also returns correct message when trying to set negative value via REST api. |
Created attachment 777846 [details] engine log Description of problem: Try to put a negative number in the "Maximum number of VMs per user" through the API Version-Release number of selected component (if applicable): How reproducible: 100% Steps to Reproduce: ( It can be reproduced through rest Although I succeeded to reproduce this from the GUI due to another issue I encountered) 1. Put negative in "Maximum number of VMs per user" 2. 3. Actual results: VALIDATION_VM_POOLS_NUMBER_OF_MAX_ASSIGNED_VMS_OUT_OF_RANGE Expected results: There should be a text message Additional info: The enum should be added to VdcBllMessages