JoaoJandre opened a new pull request #5874: URL: https://github.com/apache/cloudstack/pull/5874
### Description When configuring domain resource limits in the UI, writing a value (but not saving) into the input field and then selecting another domain would make the value written in the previous domain resource limits tab appear for the newly selected domain as well. This bug can cause the user to unintentionally change values in the wrong domain, for example: Setting the "Max. Memory" field in domain A, switching to domain B, setting the "Max. User Vms" field, and then clicking submit would cause both fields to be submitted for domain B. The proposed change is to reset the fields after calling the API's `listResourceLimits`. ### Types of changes - [ ] Breaking change (fix or feature that would cause existing functionality to change) - [ ] New feature (non-breaking change which adds functionality) - [X] 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 - [X] Minor #### Bug Severity - [ ] BLOCKER - [ ] Critical - [ ] Major - [X] Minor - [ ] Trivial ### How Has This Been Tested? - The UI was tested in a local lab to verify if changes were effective. -- 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]
