Change in ovirt-engine[master]: restapi: Fix of exception while getting vv file
tjelinek at redhat.com
tjelinek at redhat.com
Tue Apr 19 13:16:54 UTC 2016
Tomas Jelinek has submitted this change and it was merged.
Change subject: restapi: Fix of exception while getting vv file
......................................................................
restapi: Fix of exception while getting vv file
"IllegalArgumentException: No enum constant
org.ovirt.engine.api.model.GraphicsType.spice" was throw when vv file
was requsted using REST api. The case was that conversion of string
"spice" (decoded console id - 7370696365) was converted to actual
instance of GraphicsType enum using #valueOf() isntead of custom
#valueFrom().
Change-Id: I36ffbb0dea8b2d7c994718663ecebc508cce966f
Signed-off-by: Jakub Niedermertl <jniederm at redhat.com>
---
M backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/BackendGraphicsConsoleResource.java
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
Tomas Jelinek: Looks good to me, approved
Jakub Niedermertl: Verified
Juan Hernandez: Looks good to me, but someone else must approve
Jenkins CI: Passed CI tests
--
To view, visit https://gerrit.ovirt.org/56303
To unsubscribe, visit https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I36ffbb0dea8b2d7c994718663ecebc508cce966f
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Jakub Niedermertl <jniederm at redhat.com>
Gerrit-Reviewer: Jakub Niedermertl <jniederm at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Tomas Jelinek <tjelinek at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>
More information about the Engine-commits
mailing list