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

Relationship filterset filtering with concrete fields raises 500 error #2963

Closed
lampwins opened this issue Dec 7, 2022 · 0 comments · Fixed by #2969
Closed

Relationship filterset filtering with concrete fields raises 500 error #2963

lampwins opened this issue Dec 7, 2022 · 0 comments · Fixed by #2969
Assignees
Labels
type: bug Something isn't working as expected

Comments

@lampwins
Copy link
Member

lampwins commented Dec 7, 2022

Environment

  • Nautobot version (Docker tag too if applicable): 1.5.0
  • Python version: 3.9
  • Database platform, version: postgres
  • Middleware(s):

Steps to Reproduce

  1. Create a one-to-many relationship from vlan to device
  2. Populate this relationship on at least one device record
  3. In the device list view, filter by the relationship vlan value and the manufacturer of a device

Expected Behavior

The result set to be filtered by both values

Observed Behavior

500 error

<class 'AssertionError'>

Cannot combine a unique query with a non-unique query.
@lampwins lampwins added the type: bug Something isn't working as expected label Dec 7, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 10, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: bug Something isn't working as expected
Projects
No open projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants