-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Description
Please verify that this bug has NOT been raised before.
- I checked and didn't find a similar issue
Describe the bug*
The subscription status of a part category is not correctly reflected in the category UI.
When a category is subscribed, the system correctly records this state, evidenced by the Subscribed Categories dashboard widget and by the categories table filter (starred=true) listing the subscribed categories. However, the category page and category edit page do not reflect this state: The notification bell remains uncolored and the Subscribed toggle in the edit form appears always off, even though the category is subscribed.
This results in an inconsistent UI state where the subscription exists but is not indicated on the category page or edit form.
Might be related to #10592
Steps to Reproduce
- Go to any (sub)category (e.g., https://demo.inventree.org/web/part/category/23/subcategories)
- Click on
🔔(Subscribe to notifications), OR - Click on
⋮,Edit, then toggleSubscribedtoon
Expected behaviour
After subscribing to a category:
- Bell button should turn green
- the
Subscribedtoggle in category edit should beon,
Instead, the bell remains colorless and the Subscribed toggle is always shown as off, while other UI elements (dashboard widget and filtered category table) correctly show the subscription.
This is despite the Subscribed Categories widget in the dashboard showing the correct number of subscribed categories, and the categories table with filter showing the subscribed categories ()
Deployment Method
Docker
Version Information
InvenTree-Version: 1.2.3
Django Version: 5.2.11
Commit Hash: 12da3b0
Commit Date: 2026-02-22
Commit Branch: null
Database: django.db.backends.postgresql
Debug-Mode: False
Deployed using Docker: True
Platform: Linux-6.8.0-87-generic-x86_64-with-glibc2.41
Installer: DOC
Active plugins: [{"name":"InvenTreeBarcode","slug":"inventreebarcode","version":"2.1.0"},{"name":"BOM Exporter","slug":"bom-exporter","version":"1.1.0"},{"name":"InvenTree Exporter","slug":"inventree-exporter","version":"1.0.0"},{"name":"Parameter Exporter","slug":"parameter-exporter","version":"2.0.0"},{"name":"InvenTreeEmailNotifications","slug":"inventree-email-notification","version":"1.0.0"},{"name":"InvenTreeUINotifications","slug":"inventree-ui-notification","version":"1.0.0"},{"name":"InvenTreeCurrencyExchange","slug":"inventreecurrencyexchange","version":"1.0.0"},{"name":"InvenTreeMachines","slug":"inventree-machines","version":"1.0.0"},{"name":"InvenTreeLabel","slug":"inventreelabel","version":"1.1.0"},{"name":"InvenTreeLabelMachine","slug":"inventreelabelmachine","version":"1.0.0"},{"name":"DigiKeyBarcodePlugin","slug":"digikeyplugin","version":"1.0.1"},{"name":"LCSCBarcodePlugin","slug":"lcscplugin","version":"1.0.1"},{"name":"MouserBarcodePlugin","slug":"mouserplugin","version":"1.0.1"},{"name":"TMEBarcodePlugin","slug":"tmeplugin","version":"1.0.1"},{"name":"Brother Labels","slug":"brother","version":"2.0.5"}]
Try to reproduce on the demo site
I tried to reproduce
Is the bug reproducible on the demo site?
Reproducible
Relevant log output
N/A