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

   (#14766)
   
   ### Description
   
   The 4.22 -> main merge left two broken lines:
   
   1. `ApiResponseHelper.getDataStoreRole` used `Boolean.getBoolean(value)`, 
which reads a JVM system property named by `value` and is therefore always 
false; snapshots on primary storage with `STORAGE_SYSTEM_SNAPSHOT` support were 
misreported with the `Image` role. Now uses `Boolean.parseBoolean(value)`.
   2. `VolumeApiServiceImpl.uploadVolume` used `UseHttpsToUpload.value()` 
(global) instead of `UseHttpsToUpload.valueIn(zoneId)`, ignoring the zone-level 
`use.https.to.upload` for volume upload URLs. Restored to `valueIn(zoneId)`, 
matching the template path.
   
   ### 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)
   
   ### Bug Severity
   
   - [ ] BLOCKER
   - [ ] Critical
   - [x] Major
   - [ ] Minor
   - [ ] Trivial
   
   ### How Has This Been Tested?
   
   Two-line fix verified by inspection; `UseHttpsToUpload` is Zone-scoped and 
`valueIn(Long)` is the same call the template upload path uses. 
Compilation/tests run in PR CI (no JDK in the working environment).
   
   Closes #14766
   
   


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