openwisp-controller icon indicating copy to clipboard operation
openwisp-controller copied to clipboard

[bug] Unable to import devices from CSV

Open pandafy opened this issue 2 years ago • 2 comments

Steps to replicate

  1. Export devices using the export button on device changelist to CSV format
  2. Import the exported devices in the previous step

Actual Result Screenshot from 2023-07-14 22-20-00

Expected result Device are imported without any errors

pandafy avatar Jul 14 '23 16:07 pandafy

My browser's UI uses dark mode, hence CSS defined in django-import-export is using dark mode colours. But, this breaks the theme of OpenWISP.

Screenshot from 2023-07-14 22-21-50

pandafy avatar Jul 14 '23 16:07 pandafy

We will need to override these rules https://github.com/django-import-export/django-import-export/blob/4ce494ac5c30df85bb5b1ad5d436ef64fd72d35e/import_export/static/import_export/import.css#L83-L115

pandafy avatar Jul 14 '23 17:07 pandafy

I split the dark mode issue here: https://github.com/openwisp/openwisp-controller/issues/851.

nemesifier avatar Apr 09 '24 20:04 nemesifier