sathvikaragi opened a new issue, #14222:
URL: https://github.com/apache/cloudstack/issues/14222

   ### problem
   
   When resizing a volume with an invalid value, such as a negative size, the 
backend returns a validation error, but the UI does not display it.
   ResizeVolume.vue expects the error under errorresponse. For known commands 
such as resizeVolume, CloudStack returns it under resizevolumeresponse. 
Accessing the wrong response key hides the original validation message.
   
   ### versions
   
   The versions of ACS, hypervisors, storage, network etc..
   
   checked on 4.23
   
   ### The steps to reproduce the bug
   
   1. Open the Volumes page.
   2. Select a volume and choose Resize Volume.
   3. Enter an invalid size, such as 2.5.
   4. Submit the request.
   5. Observe that the backend validation error is not displayed  in the UI at 
all.
   
   ### What to do about it?
   
   Replace the hardcoded error-response lookup in ResizeVolume.vue with the 
common $notifyError(error) helper. This helper finds and displays errortext 
regardless of the command-specific response key.
   
   even after clicking on okay I see no error for it.
   
   <img width="1645" height="588" alt="Image" 
src="https://github.com/user-attachments/assets/bfa68236-72bf-4baa-bfb6-ea5ee73b33d1";
 />
   
   
   after the fix:
   
   <img width="1472" height="717" alt="Image" 
src="https://github.com/user-attachments/assets/268caa0c-50b7-45c9-89a2-2b671a1767e1";
 />
   
   <img width="1474" height="750" alt="Image" 
src="https://github.com/user-attachments/assets/0ae3edc0-48b2-42c2-bbf2-1ab131a4b77b";
 />


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