stag7824 opened a new pull request, #14956:
URL: https://github.com/apache/cloudstack/pull/14956

   ### Description
   
   This PR backports #14293 to 4.22, as suggested by @RosiKyu when the original 
was moved to `main`.
   
   `listDomains` reported the bucket and object storage limits of every 
non-root domain as Unlimited, and the backup and backup storage rows used the 
wrong "unlimited" checks. For a domain without its own limit, the response also 
showed Unlimited instead of the limit that is actually enforced (parent domain 
or `max.domain.*` default).
   
   It is a clean cherry-pick (`-x`) of b694fcd156, with no conflicts. Same four 
files as the original.
   
   Fixes: #13944
   
   ### 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)
   - [ ] Build/CI
   - [ ] Test (unit or integration test code)
   
   ### Feature/Enhancement Scale or Bug Severity
   
   #### Bug Severity
   
   - [ ] BLOCKER
   - [ ] Critical
   - [ ] Major
   - [x] Minor
   - [ ] Trivial
   
   ### How Has This Been Tested?
   
   On this branch (JDK 11): `ApiDBUtilsTest` and `DomainJoinDaoImplTest` pass 
(6 tests), and checkstyle is clean for `server`.
   
   The original was tested on a KVM lab by @RosiKyu and reproduced on a 4.23 
build by @rootnomad, see #14293.
   


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