Skip to content

Vlan group: Removing scope fails via api because scope_type does not allow nulls #10791

@amhn

Description

@amhn

NetBox version

v3.3.6 && master

Python version

3.10

Steps to Reproduce

  1. Create site
  2. Create Vlan Group with scope
  3. Send {"scope_type": null, "scope_id": null} to /api/ipam/vlan-groups/ method PATCH

Expected Behavior

Scope is unset.

Observed Behavior

An error is returned:

{"scope_type":["This field may not be null."]}

Metadata

Metadata

Assignees

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