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

Sort secrets by assigned object cause error #6562

Closed
Dimaqa opened this issue Jun 8, 2021 · 0 comments
Closed

Sort secrets by assigned object cause error #6562

Dimaqa opened this issue Jun 8, 2021 · 0 comments
Assignees
Labels
status: accepted This issue has been accepted for implementation type: bug A confirmed report of unexpected behavior in the application

Comments

@Dimaqa
Copy link

Dimaqa commented Jun 8, 2021

NetBox version

2.11.1

Python version

3.8

Steps to Reproduce

  1. Go to secrets table page
  2. Press on Assigned object header

Expected Behavior

Sort by assigned object

Observed Behavior

500 error

<class 'django.core.exceptions.FieldError'>

Field 'assigned_object' does not generate an automatic reverse relation and therefore cannot be used for reverse querying. If it is a GenericForeignKey, consider adding a GenericRelation.
@Dimaqa Dimaqa added the type: bug A confirmed report of unexpected behavior in the application label Jun 8, 2021
@jeremystretch jeremystretch added the status: accepted This issue has been accepted for implementation label Jun 8, 2021
@jeremystretch jeremystretch self-assigned this Jun 8, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 7, 2021
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

No branches or pull requests

2 participants