silverstrike icon indicating copy to clipboard operation
silverstrike copied to clipboard

Generic CSV disabled

Open alex-phillips opened this issue 5 years ago • 3 comments

Just spun up a fresh install of silverstrike via the docker image and Import optionGeneric CSV is disabled. If I try to manually go to the URL and upload a file, I get the following error:


Request Method: | POST
-- | --
https://silverstrike.example.com/import/generic/a6e727d9-ed22-4cfc-8673-f6a1fa2d90ad/
2.2
KeyError
'field_type'
/usr/lib/python3.6/site-packages/silverstrike/views/imports.py in <listcomp>, line 58
/usr/sbin/uwsgi
3.6.6
['.',  '',  '/usr/lib/python36.zip',  '/usr/lib/python3.6',  '/usr/lib/python3.6/lib-dynload',  '/usr/lib/python3.6/site-packages']
Wed, 17 Apr 2019 15:24:40 +0000

alex-phillips avatar Apr 17 '19 15:04 alex-phillips

yeah, it's disabled because it's currently broken. I was not very happy with how generic csvs are imported and I'm not sure about the best way to go forward with that, so I disabled it in the UI but didn't remove the code yet.

simhnna avatar Apr 20 '19 13:04 simhnna

@simhnna is it planned to be removed or reimplemented? My bank offers csv, ths, xml, pdf, bdoc.

jtagcat avatar Sep 13 '19 04:09 jtagcat

I'm planning to add it back. I'm currently reworking the UI to use angular. I'll reintroduce generic import with the new UI.

simhnna avatar Sep 15 '19 07:09 simhnna