Skip to content

Category Subscription Status Always Shows Off #11473

@lcnittl

Description

@lcnittl

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

  1. Go to any (sub)category (e.g., https://demo.inventree.org/web/part/category/23/subcategories)
  2. Click on 🔔 (Subscribe to notifications), OR
  3. Click on , Edit, then toggle Subscribed to on

Expected behaviour

After subscribing to a category:

  • Bell button should turn green
  • the Subscribed toggle in category edit should be on,

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    User InterfaceRelated to the frontend / User InterfacebugIdentifies a bug which needs to be addressed

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions