Server error while displaying a Device #4188

Closed
opened 2025-12-29 18:33:44 +01:00 by adam · 1 comment
Owner

Originally created by @Ben0it on GitHub (Oct 12, 2020).

Environment

  • Python version: 3.7.3
  • NetBox version: 2.9.6

Steps to Reproduce

  1. Migrate from v2.9.4 to v2.9.5 or from v2.9.5 to v2.9.6.
  2. Login to NetBox
  3. Click on a Device without web links to display its summary page.
  4. Server error pops up.

Expected behavior

Clicking on the Device should have displayed the Device page as usual.

Observed behavior

This error page appeared instead :

image

After some preliminary code inspection, it seems to be related to the Device having Web links or not.

  • The Device I was trying to display has no link associated and triggers the error.
  • A Device with a web link is displayed as expected.

PS : might be related to #5231

Originally created by @Ben0it on GitHub (Oct 12, 2020). ### Environment * Python version: 3.7.3 * NetBox version: 2.9.6 ### Steps to Reproduce 1. Migrate from v2.9.4 to v2.9.5 or from v2.9.5 to v2.9.**6**. 2. Login to NetBox 3. Click on a Device without web links to display its summary page. 4. Server error pops up. ### Expected behavior Clicking on the Device should have displayed the Device page as usual. ### Observed behavior This error page appeared instead : ![image](https://user-images.githubusercontent.com/25719453/95757913-0bfb7500-0ca8-11eb-8878-364bfdd77b98.png) After some preliminary code inspection, it seems to be related to the Device having Web links or not. - The Device I was trying to display has _no link_ associated and triggers the error. - A Device with a web link is displayed as expected. PS : might be related to #5231
adam closed this issue 2025-12-29 18:33:44 +01:00
Author
Owner

@Ben0it commented on GitHub (Oct 12, 2020):

Release v2.9.7 fixes the error, thanks. This issue can be marked as closed.

@Ben0it commented on GitHub (Oct 12, 2020): [Release v2.9.7](https://github.com/netbox-community/netbox/releases/tag/v2.9.7) fixes the error, thanks. This issue can be marked as closed.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#4188