Unable to update Site when bulk-editing VLAN Groups #8655

Closed
opened 2025-12-29 20:39:26 +01:00 by adam · 0 comments
Owner

Originally created by @stuntguy3000 on GitHub (Sep 21, 2023).

Originally assigned to: @jeremystretch on GitHub.

NetBox version

v3.6.2

Python version

3.8

Steps to Reproduce

  1. Select one or more VLAN Groups
  2. Click on Edit Selected
  3. Select a Site and submit the form

msedge_uHjHsHnN5F

Expected Behavior

Ideally, the VLAN Group Bulk Edit form should reference the scope of the VLAN to edit, not a site specifically.

Observed Behavior

<class 'TypeError'>

Direct assignment to the reverse side of a related set is prohibited. Use site.set() instead.

Python version: 3.8.10
NetBox version: 3.6.2
Plugins: 
  netbox_demo: 0.3.1
Originally created by @stuntguy3000 on GitHub (Sep 21, 2023). Originally assigned to: @jeremystretch on GitHub. ### NetBox version v3.6.2 ### Python version 3.8 ### Steps to Reproduce 1. Select one or more VLAN Groups 2. Click on **Edit Selected** 3. Select a **Site** and submit the form ![msedge_uHjHsHnN5F](https://github.com/netbox-community/netbox/assets/1522389/e9b639ad-37f9-4d62-b90d-5037d8fffaab) ### Expected Behavior Ideally, the VLAN Group Bulk Edit form should reference the **scope** of the VLAN to edit, not a site specifically. ### Observed Behavior ``` <class 'TypeError'> Direct assignment to the reverse side of a related set is prohibited. Use site.set() instead. Python version: 3.8.10 NetBox version: 3.6.2 Plugins: netbox_demo: 0.3.1 ```
adam added the type: bugstatus: acceptedseverity: medium labels 2025-12-29 20:39:26 +01:00
adam closed this issue 2025-12-29 20:39:26 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#8655