shwstppr opened a new pull request #5887:
URL: https://github.com/apache/cloudstack/pull/5887


   ### Description
   
   Fixes #5724
   
   ### Types of changes
   
   - [ ] Breaking change (fix or feature that would cause existing 
functionality to change)
   - [ ] New feature (non-breaking change which adds functionality)
   - [ ] Bug fix (non-breaking change which fixes an issue)
   - [ ] Enhancement (improves an existing feature and functionality)
   - [ ] Cleanup (Code refactoring and cleanup, that may add test cases)
   
   ### Feature/Enhancement Scale or Bug Severity
   
   #### Feature/Enhancement Scale
   
   - [ ] Major
   - [ ] Minor
   
   #### Bug Severity
   
   - [ ] BLOCKER
   - [ ] Critical
   - [ ] Major
   - [ ] Minor
   - [ ] Trivial
   
   
   ### Screenshots (if appropriate):
   Before fix (filtering of readonly details not working properly and 
updateVirtualMachine is called with rootDiskController setting)
   Steps to reproduce:
   - On a VMware env, as a regular user deploy a VM, stop it after deployment. 
Template shouldn't have nicAdapter specified
   - Try to update VM with nicAdapter from UI by adding the new setting.
   - Observe updateVirtualMachine API is called with rootDiskController in the 
details
   ![Screenshot from 2022-01-24 
14-05-44](https://user-images.githubusercontent.com/153340/150748962-7267cdd2-beca-4cdd-8078-c91d6d7a5dfa.png)
   
   After fix:
   ![Screenshot from 2022-01-24 
14-06-35](https://user-images.githubusercontent.com/153340/150749382-4eb8411b-0f15-4e96-a252-bda0afca191b.png)
   
   ### How Has This Been Tested?
   <!-- Please describe in detail how you tested your changes. -->
   <!-- Include details of your testing environment, and the tests you ran to 
-->
   <!-- see how your change affects other areas of the code, etc. -->
   
   
   <!-- Please read the 
[CONTRIBUTING](https://github.com/apache/cloudstack/blob/main/CONTRIBUTING.md) 
document -->
   


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to