Tal Nisan has submitted this change and it was merged.

Change subject: core: NPE fix in clone image from snapshot
......................................................................


core: NPE fix in clone image from snapshot

NPE is thrown from AddVmFromSnapshotCommand's CDA. This is caused
because destStorages is filled with its domains only in the super's
CDA- which is being called at the end of the function.

This patch puts the call to super.CDA before the usage of destStorages.

* Later on, this will be refactored, this patch is a fast fix for 3.5.3
build.

Change-Id: Ib1c412298c017bd1dad6ee1248933907139d82e3
Bug-Url: https://bugzilla.redhat.com/1220282
Signed-off-by: Amit Aviram <[email protected]>
---
M 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/AddVmFromSnapshotCommand.java
1 file changed, 2 insertions(+), 2 deletions(-)

Approvals:
  Allon Mureinik: Looks good to me, approved
  Amit Aviram: Verified



-- 
To view, visit https://gerrit.ovirt.org/40753
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ib1c412298c017bd1dad6ee1248933907139d82e3
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-3.5.3
Gerrit-Owner: Amit Aviram <[email protected]>
Gerrit-Reviewer: Allon Mureinik <[email protected]>
Gerrit-Reviewer: Amit Aviram <[email protected]>
Gerrit-Reviewer: Daniel Erez <[email protected]>
Gerrit-Reviewer: Tal Nisan <[email protected]>
Gerrit-Reviewer: [email protected]
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to