Global Search for Rack Reservation did not work #6832

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

Originally created by @whtkam on GitHub (Aug 18, 2022).

Originally assigned to: @arthanson on GitHub.

NetBox version

v3.3.0

Python version

3.9

Steps to Reproduce

  • Create a rack reservation from a rack
  • Then use the global search to search for that rack (with the reservation)
  • The following error message is displayed

<class 'AttributeError'>

Cannot find 'site' on RackReservation object, 'site' is an invalid parameter to prefetch_related()

Python version: 3.9.11
NetBox version: 3.3.0

Expected Behavior

that the global search works as usual

Observed Behavior

server error is displayed:

<class 'AttributeError'>

Cannot find 'site' on RackReservation object, 'site' is an invalid parameter to prefetch_related()

Python version: 3.9.11
NetBox version: 3.3.0

Originally created by @whtkam on GitHub (Aug 18, 2022). Originally assigned to: @arthanson on GitHub. ### NetBox version v3.3.0 ### Python version 3.9 ### Steps to Reproduce - Create a rack reservation from a rack - Then use the global search to search for that rack (with the reservation) - The following error message is displayed <class 'AttributeError'> Cannot find 'site' on RackReservation object, 'site' is an invalid parameter to prefetch_related() Python version: 3.9.11 NetBox version: 3.3.0 ### Expected Behavior that the global search works as usual ### Observed Behavior server error is displayed: <class 'AttributeError'> Cannot find 'site' on RackReservation object, 'site' is an invalid parameter to prefetch_related() Python version: 3.9.11 NetBox version: 3.3.0
adam added the type: bugstatus: accepted labels 2025-12-29 19:45:52 +01:00
adam closed this issue 2025-12-29 19:45:52 +01:00
Author
Owner

@arthanson commented on GitHub (Aug 19, 2022):

I can take this

@arthanson commented on GitHub (Aug 19, 2022): I can take this
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#6832