Closes #20459 : clean is_oob and is_primary on bulk_import #999

Closed
opened 2026-04-05 19:35:50 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @pl0xym0r on 10/22/2025

Closes: #20459

I used the same logic as https://github.com/netbox-community/netbox/blob/main/netbox/dcim/forms/bulk_import.py#L768 in order to clean the parameters coming from a CSV.
Then, once data is cleaned, apply if parameter are true or false on assigned_objects.
Test are ok

*Originally created by @pl0xym0r on 10/22/2025* Closes: #20459 I used the same logic as https://github.com/netbox-community/netbox/blob/main/netbox/dcim/forms/bulk_import.py#L768 in order to clean the parameters coming from a CSV. Then, once data is cleaned, apply if parameter are true or false on assigned_objects. Test are ok
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/netbox#999