Ravi Nori has uploaded a new change for review.

Change subject: engine : Second suspend of a vm doesn't work
......................................................................

engine : Second suspend of a vm doesn't work

When the vm is suspended in succession the
second time it is suspended after a run the backend
throws a NPE because the RunVMCommand does not
set the entity info in the action parameters.

Change-Id: Ib6d142ad00e9045a615d5489cb7104a2404bcf08
Bug-Url: https://bugzilla.redhat.com/1128807
Signed-off-by: Ravi Nori <[email protected]>
---
M 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/RunVmCommand.java
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/25/31525/1

diff --git 
a/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/RunVmCommand.java
 
b/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/RunVmCommand.java
index e9800b5..6194d05 100644
--- 
a/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/RunVmCommand.java
+++ 
b/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/RunVmCommand.java
@@ -120,7 +120,7 @@
     }
 
     public RunVmCommand(T runVmParams) {
-        super(runVmParams, null);
+        this(runVmParams, null);
     }
 
     public RunVmCommand(T runVmParams, CommandContext commandContext) {


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib6d142ad00e9045a615d5489cb7104a2404bcf08
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Ravi Nori <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to