apache / apache/cloudstack

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

オープン
#13,679 コメント 2 件 リアクション 0 件 担当者 0 名 @Dogface2k が担当を希望しています GitHub で見る
component:UI type:technical-debt
主要言語
Java
スター
3.1k
フォーク
1.4k
平均マージ
6日 19時間
マージ済み PR(30日)
32

説明

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

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

まず、UI の Add Object Storage リクエストを追跡し、そのメソッドとペイロードを、バックエンドへの動作する CloudMonkey リクエストと比較します。UI が操作を POST として送信し、MinIO オブジェクトストレージを正常に追加できれば完了です。リンクされた pull request は、作業がすでに進行中であることを示しています。

索引モデルが issue の本文から書いたものです。

評価

領域
api, frontend
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。