problem
Currenlty if a Admin users selects the disable option for service offering and disk offering , the offering is removed from the UI
The delete offering API is called instead of update offering
versions
Acs 4.20.1
The steps to reproduce the bug
- On existing service offering select the disable offering button
- The delete service offering API call is called and the service offering is removed from API
https://cloudstack.apache.org/api/apidocs-4.20/apis/deleteServiceOffering.html
- Similar for disk offering
...
What to do about it?
CloudStack should follow the behaviour of network offering and vpc offering and should change the state to enable/disable to maintain consistency
https://cloudstack.apache.org/api/apidocs-4.20/apis/updateNetworkOffering.html
https://cloudstack.apache.org/api/apidocs-4.20/apis/updateVPCOffering.html
https://cloudstack.apache.org/api/apidocs-4.20/apis/deleteNetworkOffering.html
https://cloudstack.apache.org/api/apidocs-4.20/apis/deleteVPCOffering.html
