Moti Asayag has submitted this change and it was merged.

Change subject: core: NPE when removing non-existing VM (#796178)
......................................................................


core: NPE when removing non-existing VM (#796178)

https://bugzilla.redhat.com/796178

There is no validation at canDoAction step that a VM doesn't exists.
The patch adds the existence validation prior to referring the VM
entity.

Change-Id: I30ffe6981a5bb61ca941a6b84ae0832f60fddbdf
---
M 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/RemoveVmCommand.java
1 file changed, 11 insertions(+), 1 deletion(-)

Approvals:
  Moti Asayag: Verified; Looks good to me, approved


--
To view, visit http://gerrit.ovirt.org/2204
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I30ffe6981a5bb61ca941a6b84ae0832f60fddbdf
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Moti Asayag <[email protected]>
Gerrit-Reviewer: Michael Kublin <[email protected]>
Gerrit-Reviewer: Moti Asayag <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to