harikrishna-patnala opened a new issue, #11082:
URL: https://github.com/apache/cloudstack/issues/11082

   ### problem
   
   Following list of quota types are wrongly mapped with the ids.
   
https://github.com/apache/cloudstack/blob/01c721fcda5f70af88750923e98e2359e3640d13/ui/src/utils/quota.js#L108-L119
   
   Actual values are
   
https://github.com/apache/cloudstack/blob/01c721fcda5f70af88750923e98e2359e3640d13/api/src/main/java/org/apache/cloudstack/usage/UsageTypes.java#L47-L50
   
   From UI when I selected the following types, the result types are different
   
   
![Image](https://github.com/user-attachments/assets/e2a57af0-840a-43e3-ad76-dfb769ad1096)
   
   ### versions
   
   ACS version: 4.20
   
   ### The steps to reproduce the bug
   
   1. enable quota service from global settings
   2. restart ms
   3. under quota section > click "Create Quota Tariff"
   4. select usage type VPC -> result usage type is BUCKET
   5. select usage type Backup Object -> result usage type is VPC
   
   ### What to do about it?
   
   Fix the ids in quota.js according to 
https://github.com/apache/cloudstack/blob/01c721fcda5f70af88750923e98e2359e3640d13/api/src/main/java/org/apache/cloudstack/usage/UsageTypes.java#L47-L50


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