apache / apache/cloudstack

Availability of Network Offering not taken into account in Web Interface

Abierto
#12,116 6 comentarios 0 reacciones 0 asignados Ver en GitHub
component:UI
Lenguaje dominante
Java
Estrellas
3.1k
Forks
1.4k
Merge medio
6 d 19 h
PR fusionados (30 d)
32

Descripción

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

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Empieza en ui/src/views/network/CreateIsolatedNetworkForm.vue alrededor de la línea 565 y, a continuación, inspecciona la lógica correspondiente de selección predeterminada en CreateSharedNetworkForm y CreateL2NetworkForm. Reproduce el flujo Add network y verifica que la oferta preseleccionada sea la primera con Required availability en lugar de ser simplemente la primera oferta de la lista ordenada por ID.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
javascript
Área
frontend
Tipo de issue
Error
Dificultad
2/5
Tiempo estimado
1-3 horas
Estado de actividad
Estancado
Claridad
Bien especificado
Aptitud para principiantes
50/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.