Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
stuntguy3000 opened this issue Sep 21, 2023 · 0 comments · Fixed by #13887
Closed

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

stuntguy3000 opened this issue Sep 21, 2023 · 0 comments · Fixed by #13887
Assignees
Labels
severity: medium Results in substantial degraded or broken functionality for specfic workflows status: accepted This issue has been accepted for implementation type: bug A confirmed report of unexpected behavior in the application

Comments

@stuntguy3000
Copy link
Contributor

stuntguy3000 commented Sep 21, 2023

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
@stuntguy3000 stuntguy3000 added the type: bug A confirmed report of unexpected behavior in the application label Sep 21, 2023
@abhi1693 abhi1693 added status: needs owner This issue is tentatively accepted pending a volunteer committed to its implementation severity: medium Results in substantial degraded or broken functionality for specfic workflows labels Sep 21, 2023
@arthanson arthanson assigned arthanson and unassigned arthanson Sep 21, 2023
@jeremystretch jeremystretch self-assigned this Sep 25, 2023
@jeremystretch jeremystretch added status: accepted This issue has been accepted for implementation and removed status: needs owner This issue is tentatively accepted pending a volunteer committed to its implementation labels Sep 25, 2023
jeremystretch added a commit that referenced this issue Sep 26, 2023
…3887)

* Update VLANGroup bulk edit form to support all scope types

* Fixes #13843: Fix scope assignment for VLAN groups during bulk edit

* Add missed static file

* Restore graphiql static assets
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 26, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
severity: medium Results in substantial degraded or broken functionality for specfic workflows status: accepted This issue has been accepted for implementation type: bug A confirmed report of unexpected behavior in the application
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants