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

CSV upload silently ignores invalid columns #13200

Closed
candlerb opened this issue Jul 18, 2023 · 1 comment
Closed

CSV upload silently ignores invalid columns #13200

candlerb opened this issue Jul 18, 2023 · 1 comment
Labels
status: duplicate This issue has already been raised

Comments

@candlerb
Copy link
Contributor

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)

@candlerb candlerb added the type: bug A confirmed report of unexpected behavior in the application label Jul 18, 2023
@abhi1693 abhi1693 added status: duplicate This issue has already been raised and removed type: bug A confirmed report of unexpected behavior in the application labels Jul 18, 2023
@abhi1693
Copy link
Member

Duplicate of #11617

@abhi1693 abhi1693 marked this as a duplicate of #11617 Jul 18, 2023
@abhi1693 abhi1693 closed this as not planned Won't fix, can't repro, duplicate, stale Jul 18, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 17, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
status: duplicate This issue has already been raised
Projects
None yet
Development

No branches or pull requests

2 participants