Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Global Search for Rack Reservation did not work #10057

Closed
whtkam opened this issue Aug 18, 2022 · 1 comment · Fixed by #10095
Closed

Global Search for Rack Reservation did not work #10057

whtkam opened this issue Aug 18, 2022 · 1 comment · Fixed by #10095
Assignees
Labels
status: accepted This issue has been accepted for implementation type: bug A confirmed report of unexpected behavior in the application

Comments

@whtkam
Copy link

whtkam commented Aug 18, 2022

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

@whtkam whtkam added the type: bug A confirmed report of unexpected behavior in the application label Aug 18, 2022
@jeremystretch jeremystretch added the status: needs owner This issue is tentatively accepted pending a volunteer committed to its implementation label Aug 18, 2022
@arthanson
Copy link
Collaborator

I can take this

arthanson added a commit to arthanson/netbox that referenced this issue Aug 18, 2022
@jeremystretch jeremystretch added status: accepted This issue has been accepted for implementation and removed status: needs owner This issue is tentatively accepted pending a volunteer committed to its implementation labels Aug 19, 2022
jeremystretch added a commit that referenced this issue Aug 22, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 21, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
status: accepted This issue has been accepted for implementation type: bug A confirmed report of unexpected behavior in the application
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants