'GenericRel' object has no attribute 'verbose_name' error when trying to search something on Netbox #10616

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

Originally created by @TheGuardianLight on GitHub (Jan 7, 2025).

Deployment Type

Self-hosted

Triage priority

N/A

NetBox Version

v4.2.0

Python Version

3.10

Steps to Reproduce

  1. Upgrade Netbox
  2. Connect as a user
  3. Try to search something (like an IP adress) on the search bar

Expected Behavior

Not having the issue below

Observed Behavior

This error occurs when you try to search for something using the search bar:

<class 'AttributeError'>

'GenericRel' object has no attribute 'verbose_name'

Version Python: 3.10.12
Version NetBox: 4.2.0
Plug-ins: None installed

Screenshot of the error :

image

Originally created by @TheGuardianLight on GitHub (Jan 7, 2025). ### Deployment Type Self-hosted ### Triage priority N/A ### NetBox Version v4.2.0 ### Python Version 3.10 ### Steps to Reproduce 1. Upgrade Netbox 2. Connect as a user 3. Try to search something (like an IP adress) on the search bar ### Expected Behavior Not having the issue below ### Observed Behavior This error occurs when you try to search for something using the search bar: ``` <class 'AttributeError'> 'GenericRel' object has no attribute 'verbose_name' Version Python: 3.10.12 Version NetBox: 4.2.0 Plug-ins: None installed ``` Screenshot of the error : ![image](https://github.com/user-attachments/assets/11cbe642-0e51-4bc1-b5d3-2bd86641aec4)
adam added the type: bugstatus: duplicate labels 2025-12-29 21:33:45 +01:00
adam closed this issue 2025-12-29 21:33:45 +01:00
Author
Owner

@jeremystretch commented on GitHub (Jan 7, 2025):

Thank you for submitting this issue, however it appears that this topic has already been raised. Please see issue #18316 for further discussion.

@jeremystretch commented on GitHub (Jan 7, 2025): Thank you for submitting this issue, however it appears that this topic has already been raised. Please see issue #18316 for further discussion.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#10616