Zvika Idelsberg resolved HHQ-5873.
-
Resolution: Fixed
Mgmt Rest API - not getting error messages in exceptions
--------------------------------------------------------
Key: HHQ-5873
URL: https://jira.hyperic.com/browse/HHQ-5873
Project: Hyperic HQ
Issue Type: Bug
Components: API
Affects Versions: 6.0
Environment: Hyperic Version :
master EE Daily 423
Reporter: Nimrod Lahav
Assignee: Zvika Idelsberg
Priority: Minor
Sending post request to create dynamic group with error in it (for example with group name that already exists)
get 500 internal error with no message
user cant get information with what went wrong
looking at server log see error with relevant text "fail to create group ... group name already exists..."
expecting to see this information in the exception message
example that dont return error message (only 500 internal server error) but server shows relevant message
1) create group with a long name (100+ length).
2) create group with no criteria
3) create group with no Criteria Description
4) create group with long regex
5) create group with non valid regex - start the regex with '); for example will fail
6) create group with regex and resource type
7) create group with non existing resource type names
there are probably more ...
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.hyperic.com/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira