apache / apache/cloudstack

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

未關閉
#13,679 2 則留言 0 個 reaction 已指派 0 人 已被 @Dogface2k 認領 在 GitHub 檢視
component:UI type:technical-debt
主要語言
Java
星號
3.1k
分支
1.4k
平均合併
6 天 19 小時
30 天內合併 PR
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 請求,並將其方法和 payload 與傳送至後端且可正常運作的 CloudMonkey 請求進行比較。完成標準是 UI 以 POST 傳送該操作,並成功新增 MinIO 物件儲存;連結的 pull request 表示相關工作已在進行中。

由索引模型根據 Issue 內容生成。

評估

領域
api, frontend
Issue 類型
缺陷
難度
3/5
預估耗時
1-2 天
活躍度
停滯
描述清晰度
基本清楚
新手友好度
25/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。