CSV upload silently ignores invalid columns #8344

Closed
opened 2025-12-29 20:35:36 +01:00 by adam · 1 comment
Owner

Originally created by @candlerb on GitHub (Jul 18, 2023).

NetBox version

v3.5.6

Python version

3.8

Steps to Reproduce

Go to Interface Bulk Import (/dcim/interfaces/import/)

Paste in the following:

device,name,type,wombat
nuc1,blah,virtual,flurble

(where 'nuc1' is some existing device)

Expected Behavior

Import to be rejected because of the unknown attribute/column "wombat"

Observed Behavior

The import is silently accepted.

The same applies if you try to modify an existing interface, e.g.

id,wombat
451,flurble

where 451 is an ID of an existing interface.

It's not just for interfaces: the same can be seen when creating Devices

device_role,manufacturer,device_type,status,site,wombat
Server,Unknown,Patch Panel 24,active,Test,flurble

(assuming that the given device_role, manufacturer, device_type, site are all pre-existing objects)

Originally created by @candlerb on GitHub (Jul 18, 2023). ### NetBox version v3.5.6 ### Python version 3.8 ### Steps to Reproduce Go to Interface Bulk Import (`/dcim/interfaces/import/`) Paste in the following: ``` device,name,type,wombat nuc1,blah,virtual,flurble ``` (where 'nuc1' is some existing device) ### Expected Behavior Import to be rejected because of the unknown attribute/column "wombat" ### Observed Behavior The import is silently accepted. The same applies if you try to *modify* an existing interface, e.g. ``` id,wombat 451,flurble ``` where 451 is an ID of an existing interface. It's not just for interfaces: the same can be seen when creating Devices ``` device_role,manufacturer,device_type,status,site,wombat Server,Unknown,Patch Panel 24,active,Test,flurble ``` (assuming that the given device_role, manufacturer, device_type, site are all pre-existing objects)
adam added the status: duplicate label 2025-12-29 20:35:36 +01:00
adam closed this issue 2025-12-29 20:35:36 +01:00
Author
Owner

@abhi1693 commented on GitHub (Jul 18, 2023):

Duplicate of #11617

@abhi1693 commented on GitHub (Jul 18, 2023): Duplicate of #11617
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#8344