Skip to content

cant unset a device interface vlan mode without an error #19229

Closed
@ITJamie

Description

@ITJamie

Deployment Type

Self-hosted

NetBox Version

v4.2.7

Python Version

3.11

Steps to Reproduce

  1. create a device
  2. create an interface on a device
  3. set the mode on the interface to tagged
  4. set the untagged vlan on that interface.
  5. save
  6. edit the interface
  7. unset vlan mode ( press the x button in that form field, the untagged vlan field will dissapear )
  8. press save - get error

Expected Behavior

vlan mode gets unset + untagged / tags vlans get deleted

Observed Behavior

an error was raised

<class 'ValueError'>

'InterfaceForm' has no field named 'untagged_vlan'.

Python version: 3.12.3
NetBox version: 4.2.7-Docker-3.2.0

Metadata

Metadata

Labels

severity: lowDoes not significantly disrupt application functionality, or a workaround is availablestatus: acceptedThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the application

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions