Updated Branches:
  refs/heads/4.2 34fecbf5e -> 4392a47d1
  refs/heads/master 2799ee3d4 -> bb7493775


CLOUDSTACK-4707: "sourcetemplateid" field is not getting set for derived 
templates Template created from a volume or snapshot did not have the 
sourcetemplateid field set in vm_template table.


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/4392a47d
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/4392a47d
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/4392a47d

Branch: refs/heads/4.2
Commit: 4392a47d1dfac656e645ac7620ac95a839745a29
Parents: 34fecbf
Author: Harikrishna Patnala <[email protected]>
Authored: Wed Oct 9 16:32:09 2013 +0530
Committer: Kishan Kavala <[email protected]>
Committed: Thu Oct 10 12:19:54 2013 +0530

----------------------------------------------------------------------
 engine/schema/src/com/cloud/storage/VolumeVO.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/4392a47d/engine/schema/src/com/cloud/storage/VolumeVO.java
----------------------------------------------------------------------
diff --git a/engine/schema/src/com/cloud/storage/VolumeVO.java 
b/engine/schema/src/com/cloud/storage/VolumeVO.java
index ea3d6bf..8a5bf56 100755
--- a/engine/schema/src/com/cloud/storage/VolumeVO.java
+++ b/engine/schema/src/com/cloud/storage/VolumeVO.java
@@ -154,7 +154,7 @@ public class VolumeVO implements Volume {
     private Long vmSnapshotChainSize;
 
     @Column(name = "iso_id")
-    private long isoId;
+    private Long isoId;
     
     @Transient
     // @Column(name="reservation")
@@ -570,7 +570,7 @@ public class VolumeVO implements Volume {
         return this.isoId;
     }
 
-    public void setIsoId(long isoId) {
+    public void setIsoId(Long isoId) {
         this.isoId =isoId;
     }
 }

Reply via email to