Device Types: Tab "Inventory Items" hidden #9042

Closed
opened 2025-12-29 20:44:40 +01:00 by adam · 5 comments
Owner

Originally created by @Karhu7 on GitHub (Jan 4, 2024).

Deployment Type

Self-hosted

NetBox Version

v3.7.0

Python Version

3.8

Steps to Reproduce

  1. Add Inventory Items to a Device Type
  2. Inventory Items are shown but the Tab is hidden

Expected Behavior

Tab "Inventory Items" should be shown if a Device Type owns Inventory Items

Observed Behavior

Tab "Inventory Items" is hidden although Inventory Itmes are attached. To display the Items the URL must be modified ".../inventory-items/". Tabs of other Components are shown correctly.

Originally created by @Karhu7 on GitHub (Jan 4, 2024). ### Deployment Type Self-hosted ### NetBox Version v3.7.0 ### Python Version 3.8 ### Steps to Reproduce 1. Add Inventory Items to a Device Type 2. Inventory Items are shown but the Tab is hidden ### Expected Behavior Tab "Inventory Items" should be shown if a Device Type owns Inventory Items ### Observed Behavior Tab "Inventory Items" is hidden although Inventory Itmes are attached. To display the Items the URL must be modified ".../inventory-items/". Tabs of other Components are shown correctly.
adam added the type: bugstatus: revisions needed labels 2025-12-29 20:44:40 +01:00
adam closed this issue 2025-12-29 20:44:40 +01:00
Author
Owner

@jeremystretch commented on GitHub (Jan 5, 2024):

Thank you for opening a bug report. I was unable to reproduce the reported behavior on NetBox v3.7.0. Please re-confirm the reported behavior on the current stable release and adjust your post above as necessary. Remember to provide detailed steps that someone else can follow using a clean installation of NetBox to reproduce the issue. Remember to include the steps taken to create any initial objects or other data.

@jeremystretch commented on GitHub (Jan 5, 2024): Thank you for opening a bug report. I was unable to reproduce the reported behavior on NetBox v3.7.0. Please re-confirm the reported behavior on the current stable release and adjust your post above as necessary. Remember to provide detailed steps that someone else can follow using a clean installation of NetBox to reproduce the issue. Remember to include the steps taken to create any initial objects or other data.
Author
Owner

@Karhu7 commented on GitHub (Jan 8, 2024):

Hello! Thank you for the Response!

I can reproduce the Issue with the following Steps in Version 3.7.0:

  1. Add a new Device Type
  2. Add Components -> Inventory Items
  3. Overview of Inventory Items is shown, but the Tab is missing (Screenshot was taken after adding the Component)

https://..../dcim/device-types/106/inventory-items/
grafik

@Karhu7 commented on GitHub (Jan 8, 2024): Hello! Thank you for the Response! I can reproduce the Issue with the following Steps in Version 3.7.0: 1. Add a new Device Type 2. Add Components -> Inventory Items 3. Overview of Inventory Items is shown, but the Tab is missing (Screenshot was taken after adding the Component) https://..../dcim/device-types/106/inventory-items/ ![grafik](https://github.com/netbox-community/netbox/assets/112371896/722043c8-072a-4fb7-b026-cfb89ccba4e7)
Author
Owner

@jeremystretch commented on GitHub (Jan 8, 2024):

These are the same steps provided in the initial report; I'm still not able to reproduce this. You can try for yourself on our public demo.

@jeremystretch commented on GitHub (Jan 8, 2024): These are the same steps provided in the initial report; I'm still not able to reproduce this. You can try for yourself on our [public demo](https://demo.netbox.dev/).
Author
Owner

@Karhu7 commented on GitHub (Jan 10, 2024):

Seems to be a local Problem, I can't reproduce it either in the Public Demo. I think in this Case you can close the Ticket.

@Karhu7 commented on GitHub (Jan 10, 2024): Seems to be a local Problem, I can't reproduce it either in the Public Demo. I think in this Case you can close the Ticket.
Author
Owner

@jeremystretch commented on GitHub (Jan 10, 2024):

FYI you can run manage.py calculate_cached_counts to restore any invalid counts (e.g. from a database restore).

@jeremystretch commented on GitHub (Jan 10, 2024): FYI you can run `manage.py calculate_cached_counts` to restore any invalid counts (e.g. from a database restore).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#9042