QinQ role not nullable #11121

Closed
opened 2025-12-29 21:40:36 +01:00 by adam · 2 comments
Owner

Originally created by @Etibru on GitHub (May 5, 2025).

Originally assigned to: @Etibru on GitHub.

Deployment Type

Self-hosted

NetBox Version

v4.2.7

Python Version

3.10

Steps to Reproduce

  1. Create (or update) a vlan like this (with the qinq_role as null):
{
  "name": "Test",
  "vid":8,
  "status": "active",
  "description": "Hey",
  "qinq_role": null
}

Expected Behavior

Normally this would set the role to null

Observed Behavior

400 / Error: Bad Request

{
  "qinq_role": [
    "This field may not be blank."
  ]
}
Originally created by @Etibru on GitHub (May 5, 2025). Originally assigned to: @Etibru on GitHub. ### Deployment Type Self-hosted ### NetBox Version v4.2.7 ### Python Version 3.10 ### Steps to Reproduce 1. Create (or update) a vlan like this (with the qinq_role as null): ```json { "name": "Test", "vid":8, "status": "active", "description": "Hey", "qinq_role": null } ``` ### Expected Behavior Normally this would set the role to null ### Observed Behavior 400 / Error: Bad Request ```json { "qinq_role": [ "This field may not be blank." ] } ```
adam added the type: bugstatus: acceptedseverity: low labels 2025-12-29 21:40:36 +01:00
adam closed this issue 2025-12-29 21:40:36 +01:00
Author
Owner

@Etibru commented on GitHub (May 5, 2025):

I've just tested on the demo instance, the problem is also present in 4.3.0 :(

@Etibru commented on GitHub (May 5, 2025): I've just tested on the demo instance, the problem is also present in 4.3.0 :(
Author
Owner

@Etibru commented on GitHub (May 5, 2025):

if you accept it, you can assign it to me, I've found the fix :)

@Etibru commented on GitHub (May 5, 2025): if you accept it, you can assign it to me, I've found the fix :)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#11121