cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From raj...@apache.org
Subject [13/50] git commit: updated refs/heads/master to 0b83559
Date Wed, 29 Apr 2015 05:43:57 GMT
volume-upload: Unable to download template which has been uploaded via POST URL
During upload, POST url is saved in template_store_ref DB table. Now during download, same
url is incorrectly returned back.
Fixed the code to cleanup POST url from DB on successful template upload.


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

Branch: refs/heads/master
Commit: 47a22e0594b3ecd4d11827912be5245cea65a009
Parents: 1dae3a4
Author: Koushik Das <koushik@apache.org>
Authored: Wed Mar 11 17:55:04 2015 +0530
Committer: Koushik Das <koushik@apache.org>
Committed: Wed Mar 11 17:55:04 2015 +0530

----------------------------------------------------------------------
 server/src/com/cloud/storage/ImageStoreUploadMonitorImpl.java | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/47a22e05/server/src/com/cloud/storage/ImageStoreUploadMonitorImpl.java
----------------------------------------------------------------------
diff --git a/server/src/com/cloud/storage/ImageStoreUploadMonitorImpl.java b/server/src/com/cloud/storage/ImageStoreUploadMonitorImpl.java
index bbc650f..7841ad9 100755
--- a/server/src/com/cloud/storage/ImageStoreUploadMonitorImpl.java
+++ b/server/src/com/cloud/storage/ImageStoreUploadMonitorImpl.java
@@ -349,6 +349,7 @@ public class ImageStoreUploadMonitorImpl extends ManagerBase implements
ImageSto
                             tmpTemplateDataStore.setPhysicalSize(answer.getPhysicalSize());
                             tmpTemplateDataStore.setSize(answer.getVirtualSize());
                             tmpTemplateDataStore.setDownloadPercent(100);
+                            tmpTemplateDataStore.setExtractUrl(null);
 
                             VMTemplateVO templateUpdate = _templateDao.createForUpdate();
                             templateUpdate.setSize(answer.getVirtualSize());


Mime
View raw message