Incorrect bulk deletion #5242

Closed
opened 2025-12-29 19:25:49 +01:00 by adam · 5 comments
Owner

Originally created by @kovalev94 on GitHub (Aug 30, 2021).

NetBox version

v1.2.0

Python version

3.8

Steps to Reproduce

I have a vlan group(name QinQ 516 inner vlans) with about 1500 vlan. I want to delete all vlans in this group.

  1. Go to vlan groups
  2. Go to group in which i want delete all vlans(QinQ 516 inner vlans)
  3. Toggle a checkbox near id field
  4. Toggle a checkbox which appeared above vlans table(Select all 1492 items mathing query)
  5. Press Delete all button and wait for response(too long, around 55 seconds)
    In result we have a question- "Confirm bulk Deletion", "Warning: The following operation will delete 7447 VLANs. Please carefully review the VLANs to be deleted and confirm below."
    And this is all my vlans from other groups and from global view

Expected Behavior

Deletion only for vlan within specified vlan group.

Observed Behavior

Deletion all vlans from NetBox

Originally created by @kovalev94 on GitHub (Aug 30, 2021). ### NetBox version v1.2.0 ### Python version 3.8 ### Steps to Reproduce I have a vlan group(name QinQ 516 inner vlans) with about 1500 vlan. I want to delete all vlans in this group. 1. Go to vlan groups 2. Go to group in which i want delete all vlans(QinQ 516 inner vlans) 3. Toggle a checkbox near id field 4. Toggle a checkbox which appeared above vlans table(Select all 1492 items mathing query) 5. Press Delete all button and wait for response(too long, around 55 seconds) In result we have a question- "Confirm bulk Deletion", "Warning: The following operation will delete 7447 VLANs. Please carefully review the VLANs to be deleted and confirm below." And this is all my vlans from other groups and from global view ### Expected Behavior Deletion only for vlan within specified vlan group. ### Observed Behavior Deletion all vlans from NetBox
adam added the type: bugstatus: revisions needed labels 2025-12-29 19:25:49 +01:00
adam closed this issue 2025-12-29 19:25:50 +01:00
Author
Owner

@jeremystretch commented on GitHub (Aug 30, 2021):

v1.2.0

Is this your actual NetBox version? If so, it's terribly out of date.

@jeremystretch commented on GitHub (Aug 30, 2021): > v1.2.0 Is this your actual NetBox version? If so, it's terribly out of date.
Author
Owner

@DanSheps commented on GitHub (Sep 3, 2021):

@kovalev94 Could you please update us as to whether that is your actual version or not?

@DanSheps commented on GitHub (Sep 3, 2021): @kovalev94 Could you please update us as to whether that is your actual version or not?
Author
Owner

@jeremystretch commented on GitHub (Sep 7, 2021):

Closing as there has been no response from the poster.

@jeremystretch commented on GitHub (Sep 7, 2021): Closing as there has been no response from the poster.
Author
Owner

@kovalev94 commented on GitHub (Sep 14, 2021):

Sorry for a long answer. My version is v2.11.12. I use netbox in docker

@kovalev94 commented on GitHub (Sep 14, 2021): Sorry for a long answer. My version is v2.11.12. I use netbox in docker
Author
Owner

@jeremystretch commented on GitHub (Sep 14, 2021):

Please upgrade to the latest stable release (v3.0.2).

@jeremystretch commented on GitHub (Sep 14, 2021): Please upgrade to the latest stable release (v3.0.2).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#5242