opendcim / openDCIM

An open source (GPL v3) Data Center Inventory Management (DCIM) application.
http://opendcim.org
305 stars 204 forks source link

Collision detection doesn't work for bulk uploads of devices in chassis #987

Open nathharp opened 6 years ago

nathharp commented 6 years ago

When bulk importing devices into chassis, I am allowed to import the same device twice, into the same position, creating duplicate devices. Eg:

Cabinet: HB01 Position: 22.10. Label: Server-12

Running the same import worksheet twice, and I have duplicate servers.

Frustratingly, bulk deletes fail (device is not unique) which makes cleanup quite hard!

UMineiro commented 6 years ago

I believe a way to partially address the issue would be for the parser to acknowledge an extra column where you state if you are to import or not the corresponding row depending on it being empty or not (or with a Y or N value). This could be done on the cabinets bulk importer too.