Eldan Shachar has uploaded a new change for review.

Change subject: core: fix a lost context in VmManagementCommandBase
......................................................................

core: fix a lost context in VmManagementCommandBase

The command didn't transfer the context to the parent command for
initialization, this caused errors on AddVmCommand which tried using this
context information.

Change-Id: I10e8b2845125fb640661b6624d4b673e7724fe4d
Bug-Url: https://bugzilla.redhat.com/1140569
Signed-off-by: Eldan Shachar <eshac...@redhat.com>
---
M 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/VmManagementCommandBase.java
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/05/36505/1

diff --git 
a/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/VmManagementCommandBase.java
 
b/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/VmManagementCommandBase.java
index 6a75499..58d23ba 100644
--- 
a/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/VmManagementCommandBase.java
+++ 
b/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/VmManagementCommandBase.java
@@ -47,7 +47,7 @@
     }
 
     public VmManagementCommandBase(T parameters, CommandContext 
commandContext) {
-        super(parameters);
+        super(parameters, commandContext);
         if (parameters.getVmStaticData() != null) {
             setVmId(parameters.getVmStaticData().getId());
             setVdsGroupId(parameters.getVmStaticData().getVdsGroupId());


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I10e8b2845125fb640661b6624d4b673e7724fe4d
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Eldan Shachar <eshac...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to