-
Notifications
You must be signed in to change notification settings - Fork 263
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
Wrong relationship filter are not throwing a Validation Error #396
Labels
type: bug
Something isn't working as expected
Comments
Please assign this one to me, I have a fix for it already |
dgarros
added a commit
to dgarros/nautobot
that referenced
this issue
May 7, 2021
dgarros
added a commit
to dgarros/nautobot
that referenced
this issue
May 12, 2021
dgarros
added a commit
to dgarros/nautobot
that referenced
this issue
May 19, 2021
glennmatthews
added a commit
that referenced
this issue
May 25, 2021
* Fix for #396, leverate filterset error messages for more accurate checking * Update nautobot/extras/models/relationships.py Co-authored-by: Glenn Matthews <glenn.matthews@networktocode.com> * Check error message in unit tests for relaltionships * Update filter key to trigger proper error Co-authored-by: Glenn Matthews <glenn.matthews@networktocode.com>
glennmatthews
added a commit
that referenced
this issue
May 25, 2021
glennmatthews
added a commit
that referenced
this issue
May 25, 2021
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Environment
Steps to Reproduce
dcim.device
toipam.vlan
{ "role": 98 }
The same issue exist for destination filter
Expected Behavior
The form should flag the source_filter as invalid as
role
must be a list of string{ "role": [String] }
Observed Behavior
The form is saved without error
The text was updated successfully, but these errors were encountered: