apache / apache/cloudstack

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

Open
#13,679 2 comments 0 reactions 0 assignees Claimed by @Dogface2k View on GitHub
component:UI type:technical-debt
Dominant language
Java
Stars
3.1k
Forks
1.4k
Avg merge
6d 19h
Merged PRs (30d)
32

Description

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

Contributor guide

Open the contributing guide

Research direction

Start by tracing the UI's Add Object Storage request and compare its method and payload with the working CloudMonkey request to the backend. Done means the UI sends the operation as POST and successfully adds MinIO object storage; the linked pull request indicates work is already underway.

Written by the indexing model from the issue text.

Assessment

Domain
api, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.