apache / apache/cloudstack

Don't allow additon of template settings when the template is in Not-Ready state

Offen
#12,459 4 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
component:templates component:vmware no-issue-activity type:bug type:improvement
Vorherrschende Sprache
Java
Sterne
3.1k
Forks
1.4k
Ø Merge
6 T. 19 Std.
Gemergte PRs (30 T.)
32

Beschreibung

### problem

Don't allow addition of template settings when the template is in Not-Ready state

### versions

ACS 4.22

### The steps to reproduce the bug

1. Login to cloudstack with a admin role

Navigate Images > Template > Register a template > enable “Read Instance settings from OVA”

2. When the template is getting downloaded , its in Not ready state

3. Navigate to template settings and try to add Template settings

4. The template settings gets added

### What to do about it?

CloudStack should thrown exception saying that its unable to add settings when the template is in not-ready state or Settings are read directly from the template

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Reproduziere das Problem über Images > Template > Registriere eine Vorlage mit aktiviertem „Read Instance settings from OVA“ und versuche dann, Vorlageneinstellungen hinzuzufügen, während die Vorlage Not-Ready ist. Verfolge den Einstiegspunkt für Vorlageneinstellungen und dessen Validierung und überprüfe, dass der Vorgang mit einer Exception oder Meldung abgelehnt wird, anstatt Einstellungen hinzuzufügen.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
java
Bereich
backend, cloud
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Ruhig
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
55/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.