Itamar Heim has submitted this change and it was merged.
Change subject: restapi : Handle empty int values in JAX-B parser
......................................................................
restapi : Handle empty int values in JAX-B parser
JAX-B replacement IntegerParser should handle empty
values for integer fields. Set the default value to 0.
Change-Id: I3823d8894f316d78f753034fdbd89a79f480516e
Bug-Url:
https://bugzilla.redhat.com/1064456
Signed-off-by: Ravi Nori <rnori(a)redhat.com>
(cherry picked from commit 8cb5ab8ea806ade834e30bc84abd8c1c06dda14e)
---
M
backend/manager/modules/restapi/interface/definition/src/main/java/org/ovirt/engine/api/utils/IntegerParser.java
1 file changed, 12 insertions(+), 0 deletions(-)
Approvals:
Ravi Nori: Looks good to me, but someone else must approve
Juan Hernandez: Verified; Looks good to me, approved
--
To view, visit
http://gerrit.ovirt.org/24404
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I3823d8894f316d78f753034fdbd89a79f480516e
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-3.4
Gerrit-Owner: Juan Hernandez <juan.hernandez(a)redhat.com>
Gerrit-Reviewer: Itamar Heim <iheim(a)redhat.com>
Gerrit-Reviewer: Juan Hernandez <juan.hernandez(a)redhat.com>
Gerrit-Reviewer: Ravi Nori <rnori(a)redhat.com>
Gerrit-Reviewer: automation(a)ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server