Skip to content

Availability of Network Offering not taken into account in Web Interface #12116

@Hanarion

Description

@Hanarion

problem

When loading the CreateIsolatedNetworkForm form, the availability is not taken into account in selecting the default network offering.
It seems the issue is also present in CreateSharedNetworkForm and CreateL2NetworkForm

versions

Running 4.22.0 but issue still present in main branch

The steps to reproduce the bug

  1. Add network
  2. Check if the pre-selected network is the one with Required availability

What to do about it?

https://github.com/apache/cloudstack/blob/6dc259c7dab7bee0c4ff731271c61e2f2ee97532/ui/src/views/network/CreateIsolatedNetworkForm.vue#L565C1-L565C69
Change this line to select the first element with the availability "Required" instead of the first of the list (That is sorted by ID by default)

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    Status

    Todo

    Status

    Todo

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions