Bulk edit with filter applies to all Virtual Machines #11625

Closed
opened 2025-12-29 21:47:46 +01:00 by adam · 5 comments
Owner

Originally created by @marcoc610 on GitHub (Sep 17, 2025).

Originally assigned to: @jeremystretch on GitHub.

NetBox Edition

NetBox Community

NetBox Version

v4.4.1

Python Version

3.10

Steps to Reproduce

  1. Navigate to "Virtualization" -> "Virtual machines"
  2. Filter by tag
  3. Select "Select all xx machines matching query"
  4. Click "Edit Selected"
Image

Expected Behavior

Bulk edit is only applied to the xx virtual machines that match the filter.

Observed Behavior

Bulk edit is applied to all virtual machines.

Image
Originally created by @marcoc610 on GitHub (Sep 17, 2025). Originally assigned to: @jeremystretch on GitHub. ### NetBox Edition NetBox Community ### NetBox Version v4.4.1 ### Python Version 3.10 ### Steps to Reproduce 1. Navigate to "Virtualization" -> "Virtual machines" 2. Filter by tag 3. Select "Select all xx machines matching query" 4. Click "Edit Selected" <img width="738" height="270" alt="Image" src="https://github.com/user-attachments/assets/9ef9dfbf-d2b7-49e5-ae08-53f2d992c5da" /> ### Expected Behavior Bulk edit is only applied to the xx virtual machines that match the filter. ### Observed Behavior Bulk edit is applied to all virtual machines. <img width="623" height="297" alt="Image" src="https://github.com/user-attachments/assets/9c1a995d-8553-4b5b-b894-03a8b35846cb" />
adam added the type: bugstatus: acceptedseverity: medium labels 2025-12-29 21:47:46 +01:00
adam closed this issue 2025-12-29 21:47:47 +01:00
Author
Owner

@marcoc610 commented on GitHub (Sep 17, 2025):

I’ve observed the same behavior not only on Virtual Machines but also on VLANs and Ip Addresses.
I guess that it also happens on other items.

@marcoc610 commented on GitHub (Sep 17, 2025): I’ve observed the same behavior not only on Virtual Machines but also on VLANs and Ip Addresses. I guess that it also happens on other items.
Author
Owner

@DanSheps commented on GitHub (Sep 17, 2025):

Just tested on main with "Select all 50 items" checked and selceted all 90 devices, so device bulk edit is also impacted. Likely other models are as well

@DanSheps commented on GitHub (Sep 17, 2025): Just tested on `main` with "Select all 50 items" checked and selceted all 90 devices, so device bulk edit is also impacted. Likely other models are as well
Author
Owner

@DanSheps commented on GitHub (Sep 17, 2025):

Just one behaviour I noticed:

On v4.3.1 the "tag=XXX" would be added. Post v4.4.0 it was not added to the URL.

I can confirm that on v4.3.7 it still works. On v4.4.0 it is broken, so the change happened between the two.

@DanSheps commented on GitHub (Sep 17, 2025): Just one behaviour I noticed: On v4.3.1 the "tag=XXX" would be added. Post v4.4.0 it was not added to the URL. I can confirm that on v4.3.7 it still works. On v4.4.0 it is broken, so the change happened between the two.
Author
Owner

@marcoc610 commented on GitHub (Sep 18, 2025):

I tried some other filters (by site, by tenant, ....) and the behaviour is the same: the condition set by the filter is not used in the "Selected Objects" in the edit page.

@marcoc610 commented on GitHub (Sep 18, 2025): I tried some other filters (by site, by tenant, ....) and the behaviour is the same: the condition set by the filter is not used in the "Selected Objects" in the edit page.
Author
Owner

@DanSheps commented on GitHub (Sep 18, 2025):

The issue is caused by the way the URL for the edit button is generated in 4.4.0, this is due to the addition of ActionObjects to manage buttons.

@DanSheps commented on GitHub (Sep 18, 2025): The issue is caused by the way the URL for the edit button is generated in 4.4.0, this is due to the addition of ActionObjects to manage buttons.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#11625