Red Hat Bugzilla – Bug 988051
We get enum message instead of a text one when putting a negative number in "Maximum number of VMs per user"
Last modified: 2013-08-01 17:17:12 EDT
Created attachment 777846 [details]
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):
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"
There should be a text message
The enum should be added to VdcBllMessages
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.