Skip to content

IP Address Interface Assignment silently discards selected Device if no Interface is selected #11477

@clerie

Description

@clerie

NetBox version

v3.4.2

Python version

3.8

Steps to Reproduce

  1. Create a Device
  2. Fill out required fields
  3. Save Device
  4. Create IP Address
  5. Fill out required fields
  6. Choose the created Device in the Interface Assignment
  7. Do not choose any Interface in the Interface Assignment
  8. Save IP Address

Expected Behavior

When saving the IP Address object the form gets validated and at this point I expect to get a warning which tells me to choose an interface in case I want to assign this IP Address to the Device, else to clear the device field.

Observed Behavior

The device selection gets silently discarded. Users can't find the IP Address they have "assigned" to a Device anywhere. Only on editing the IP Address again shows that the value never got stored.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions