-
Notifications
You must be signed in to change notification settings - Fork 10
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
Issue with importing csv #33
Comments
Hello, thanks for the information. I don't see why the CSV should not work, it also seems to be a problem on the server (error 500), can you provide me with the relevant server logs please? |
It seems that I missed something last night looking at the nextcloud log. The "Verwendungszweck" column seems to be too long. And indeed, if I shorten that, I can import the csv without any problems and also the server doesn't show an error anymore. Error OC\DB\Exceptions\DbalException: An exception occurred while executing a query: SQLSTATE[22001]: String data, right truncated: 1406 Data too long for column 'description' at row 1
Caused by Doctrine\DBAL\Exception\DriverException: An exception occurred while executing a query: SQLSTATE[22001]: String data, right truncated: 1406 Data too long for column 'description' at row 1
Caused by Doctrine\DBAL\Driver\PDO\Exception: SQLSTATE[22001]: String data, right truncated: 1406 Data too long for column 'description' at row 1
Caused by PDOException: SQLSTATE[22001]: String data, right truncated: 1406 Data too long for column 'description' at row 1
|
Ok, this makes sense, thanks for the information. The app currently never checks the length of the strings 😅 I will add some checks for the input parameters. |
Hello,
I could not import a complete csv file so I tried to import one by one row to find the problem and I have no idea why but this is the problematic one (all data are anonmized but have the same length and structure):
Umsaetze_2023.01.04-neutral.csv
The import keeps spinning:

These are the error messages from the browser (the nextcloud log does not show anything related):
Nextcloud 25.0.3
Money App 0.13.0
Please let me know if you need more information.
The text was updated successfully, but these errors were encountered: