GabrielBrascher opened a new pull request #4775:
URL: https://github.com/apache/cloudstack/pull/4775


   ### Description
   
   PR #4698 was merged at the master (4.16) but it fixes an issue that is also 
relevant for current LTS versions.
   
   Considering that the port is relatively straight-forward and it can benefit 
releases 4.14.2.0 and 4.15.1.0, this PR proposes back-porting PR #4698 into 
4.14 and later forward it to 4.15.
   
   More details at  #4698.
   
   > In the execution flow of the API migrateVirtualMachineWithVolume, there is 
a step that copies the volume's template to the target storage, if it is needed.
   > In some cases when the volume is a data type, it (the volume) does not 
have a template; therefore, it is going to generate an NPE when it tries to get 
the template's ID (Long to long auto conversion).
   > 
   > This PR intends to validate if the volume being copied has a template, 
before trying to copy the template.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to