Skip to content

Missing error message when Tagged VLAN with incompatible Site is set #3589

Closed
@fknorn

Description

@fknorn

Environment

  • Python version: Python version: 3.6.8
  • NetBox version: NetBox version: 2.6.5

Steps to Reproduce

  1. Create VLAN 123 associated with Site AAA
  2. Create Device at Site BBB and Interface
  3. Edit interface and set 802.1Q Mode to Tagged
  4. Select VLAN 123 as Tagged VLAN
  5. Apply

Expected Behavior

An Error message.

Observed Behavior

No error message, and the VLAN does not get set.

Comment

A error message is correctly produced if the Mode is Access and the VLAN is selected in the Untagged input field instead. Then we get "The untagged VLAN (123) must belong to the same site as the interface's parent device/VM, or it must be global". The same message should be show there too.

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: acceptedThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the application

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions