Skip to content

Api/UI/Polish/Improvement: Wrong api is called when admin tries to disable a service offering or a disk offering #11509

@kiranchavala

Description

@kiranchavala

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

  1. On existing service offering select the disable offering button
Image
  1. 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

Image
  1. Similar for disk offering
Image Image

...

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

Image Image Image Image

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions