role field cannot be null when changing ip address via API #2321
Labels
status: accepted
This issue has been accepted for implementation
type: bug
A confirmed report of unexpected behavior in the application
Environment
Steps to Reproduce
Change an IP address with the role field as null.
Expected Behavior
Should save the IP address
Observed Behavior
Fails with the errror:
Adding
allow_null=True
to https://github.com/digitalocean/netbox/blob/f59682a7c955baa6b336ebe927d69c26f725ad67/netbox/ipam/api/serializers.py#L261 solves the issueThe text was updated successfully, but these errors were encountered: