We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
/0
10.11.12.0/0
Should fail validation as /0 is not permitted for IP addresses.
None
TypeError
Traceback
TypeError: unexpected type <class 'NoneType'> for addr arg File "django/core/handlers/exception.py", line 47, in inner response = get_response(request) File "django/core/handlers/base.py", line 181, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) File "django/views/generic/base.py", line 70, in view return self.dispatch(request, *args, **kwargs) File "nautobot/utilities/views.py", line 94, in dispatch return super().dispatch(request, *args, **kwargs) File "django/views/generic/base.py", line 98, in dispatch return handler(request, *args, **kwargs) File "nautobot/core/views/generic.py", line 88, in get **self.get_extra_context(request, instance), File "nautobot/ipam/views.py", line 588, in get_extra_context Prefix.objects.restrict(request.user, "view") File "nautobot/ipam/querysets.py", line 61, in net_contains_or_equals prefix = netaddr.IPNetwork(prefix) File "netaddr/ip/__init__.py", line 942, in __init__ value, prefixlen = parse_ip_network(module, addr, File "netaddr/ip/__init__.py", line 831, in parse_ip_network raise TypeError('unexpected type %s for addr arg' % type(addr))
The text was updated successfully, but these errors were encountered:
FragmentedPacket
Successfully merging a pull request may close this issue.
Environment
Steps to Reproduce
/0
prefix (e.g.10.11.12.0/0
) + statusExpected Behavior
Should fail validation as /0 is not permitted for IP addresses.
Observed Behavior
None
as address and causesTypeError
to be raised in detail viewTraceback
The text was updated successfully, but these errors were encountered: