apache / apache/cloudstack

[UI] Add Object Storage Fails using GET Instead of POST to Backend

Aperta
#13,679 2 commenti 0 reazioni 0 assegnatari Rivendicata da @Dogface2k Vedi su GitHub
component:UI type:technical-debt
Lingua principale
Java
Stelle
3.1k
Fork
1.4k
Merge medio
6g 19h
PR unite (30g)
32

Descrizione

### problem

When trying to Add Object Storage, the UI fails because it sends the payload over GET when it expects POST.

Image

I confirmed that the backend works properly when the request is sent using CloudMonkey.

Image

As I've pointed out before, the ACS UI overuses GET, including for operations where sensitive data is passed in the URL. In this case it happens to break the UI, but we should probably review this behavior more holistically.

### versions

Non-Prod deployment of ACS 4.22.0.1
The backend S3-compatible object storage type is MinIO.

### The steps to reproduce the bug

1.
2.
3.
...

### What to do about it?

_No response_

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Inizia tracciando la richiesta Add Object Storage della UI e confronta il suo metodo e payload con la richiesta CloudMonkey funzionante al backend. Il lavoro è completato quando la UI invia l'operazione come POST e aggiunge correttamente lo storage a oggetti MinIO; la pull request collegata indica che il lavoro è già in corso.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Ambito
api, frontend
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
25/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.