powerpaul17 / nc_money

Nextcloud app for finance management

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Importing .csv file

LyonelB opened this issue · comments

Hello,
I have a bug when importing .csv file
The window opens, I choose my file but nothing happens. I can't click "import"

Hello, have you set the column to data field mappings? The button is only enabled if the settings in the dialog are all correct.

Yes, it works!
But the import does not end ... it turns without stopping
image

Sorry for the late reply. Do you have any error messages in the browser console log (or network tab)?

@LyonelB is this still relevant or reproducible?

Hi, today I tried to import a csv file and I have the same behavior like described in the original description: just nothing happens.
I tried to drag/drop the file and select it manually, but without any feedback. Turned out, that in the console I saw the error, that the delimiter was wrong. Maybe you can add some message in the ui about that.

I suspect that there is an error with a certain transaction. I want to add checks for this and proper handling with a message in the UI..

I can reproduce this with the exported file from my bank (sparkasse). Here is a screenshot, hope that helps!
image

commented

Hello,
there is another issue with the importer: it does not check for the length of input fields (text decription at least).
So I got a SQL exception telling me, that the character field is exhausted.
Possible solution could be to cut off the string after 200 characters. - I just could not manage to find the code, yet.

This is actually already tracked by #33. I should rename the issues though..