[Web UI] Edit Category: Don't show alert error when confirming without changes #17509

Open
opened 2026-02-22 03:52:22 -05:00 by deekerman · 0 comments
Owner

Originally created by @ratijas on GitHub (Feb 16, 2026).

qBittorrent & operating system versions

Qt: 6.10.1
Libtorrent: 1.2.20.0
Boost: 1.86.0
OpenSSL: 3.5.4
zlib: 1.3.1
Operating system: Linux
Docker/Podman Container: ghcr.io/qbittorrent/docker-qbittorrent-nox:5.1.4-2

What is the problem?

While editing a Category in browser Web UI, and pressing OK without making any changes, the web page pops up an alert dialog with the following error message: Unable to edit category.

Equivalent actions in thee native Qt GUI results in no errors or additional pop-ups.

Also, the OK button should be renamed to "Save" or "Apply".

Steps to reproduce

  1. Open Web UI
  2. Create a category, name it whatever you want.
  3. Right click the category in the list of categories in sidebar.
  4. Click on Edit Category menu item.
  5. In the popup dialog click OK without making any changes.

Additional context

Image

Log(s) & preferences file(s)

POST
http://lab.local/api/v2/torrents/editCategory
Status 409 Conflict
Version HTTP/1.1

Originally created by @ratijas on GitHub (Feb 16, 2026). ### qBittorrent & operating system versions Qt: 6.10.1 Libtorrent: 1.2.20.0 Boost: 1.86.0 OpenSSL: 3.5.4 zlib: 1.3.1 Operating system: Linux Docker/Podman Container: `ghcr.io/qbittorrent/docker-qbittorrent-nox:5.1.4-2` ### What is the problem? While editing a Category in browser Web UI, and pressing OK without making any changes, the web page pops up an alert dialog with the following error message: _Unable to edit category_. Equivalent actions in thee native Qt GUI results in no errors or additional pop-ups. Also, the OK button should be renamed to "Save" or "Apply". ### Steps to reproduce 1. Open Web UI 2. Create a category, name it whatever you want. 3. Right click the category in the list of categories in sidebar. 4. Click on Edit Category menu item. 5. In the popup dialog click OK without making any changes. ### Additional context <img width="649" height="340" alt="Image" src="https://github.com/user-attachments/assets/28b7f642-7bab-4c02-9745-378a91163c70" /> ### Log(s) & preferences file(s) POST http://lab.local/api/v2/torrents/editCategory Status 409 Conflict Version HTTP/1.1
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/qBittorrent#17509
No description provided.