Damans227 opened a new pull request, #12412: URL: https://github.com/apache/cloudstack/pull/12412
### Description This PR fixes template upload error messages not being displayed in the UI. Previously, when template uploads failed _(e.g., file format mismatch)_, the UI would show a generic **"Request failed with status code 400"** message instead of the actual error message from the SSVM (Secondary Storage VM). ### 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 - [ ] Major - [x] Minor - [ ] Trivial ### Screenshots (if appropriate): ### Broken: <img width="2441" height="1260" alt="image" src="https://github.com/user-attachments/assets/2b84925b-8b28-4971-a98d-6837c6299036" /> ### Fixed: <img width="2441" height="1260" alt="Screenshot from 2026-01-12 17-20-18" src="https://github.com/user-attachments/assets/ccf3c506-2c0f-41e6-b97b-f97d35bd89e6" /> ### How Has This Been Tested? 1. Navigated to Templates → Upload Template 2. Selected QCOW2 as format 3. Uploaded a file with wrong format (e.g., RAW disk image, text file, or corrupted QCOW2) 4. Verified error notification displays actual SSVM error message instead of generic "Request failed with status code 400" -- 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]
