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 摘要。