JoaoJandre opened a new pull request #5882:
URL: https://github.com/apache/cloudstack/pull/5882
### Description
When deleting a domain, the UI shows an error, but successfully deletes the
domain. This happens because the UI does not refresh the domain list and
requests the deleted domain's information, thus ACS would return an error. This
was partially fixed on PR #5710, but the changes were insufficient.
In case there is only 2 domains, for example: 'ROOT' and 'A', when deleting
'A' the UI does not show the previous error, but it still shows the deleted
domain's information. The proposed solution to this problem is to force the UI
to refresh the component that shows the domain information. Therefore, this PR
is intended to introduce these changes.
### 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
- [ ] Minor
- [X] Trivial
### How Has This Been Tested?
This was tested in a local lab:
- Make the domain list have only the ROOT and any other domain;
- Delete the domain;
- The ROOT information should be shown, and the ROOT should be selected.
--
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]