Oved Ourfali has submitted this change and it was merged.
Change subject: restapi: Avoid NPE with empty app list
......................................................................
restapi: Avoid NPE with empty app list
Currently we don't check the list of applications installed in a VM to
make sure that the application names aren't empty. This patch fixes
that in order to prevent NPEs.
Change-Id: Ieed7a5b90732f510973bedd7306d236ade4b2b3a
Bug-Url:
https://bugzilla.redhat.com/1092380
Signed-off-by: Juan Hernandez <juan.hernandez(a)redhat.com>
(cherry picked from commit a1c36428498b56234d6293e2392a861260ab91f6)
---
M
backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/BackendVmApplicationsResource.java
1 file changed, 6 insertions(+), 8 deletions(-)
Approvals:
Juan Hernandez: Verified; Looks good to me, approved
--
To view, visit
http://gerrit.ovirt.org/27256
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ieed7a5b90732f510973bedd7306d236ade4b2b3a
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-3.4
Gerrit-Owner: Juan Hernandez <juan.hernandez(a)redhat.com>
Gerrit-Reviewer: Juan Hernandez <juan.hernandez(a)redhat.com>
Gerrit-Reviewer: Oved Ourfali <oourfali(a)redhat.com>
Gerrit-Reviewer: automation(a)ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server