Issue importing exported project csv
While testing out your new category implementation I wanted to export the current project from my production server and import it to Cospend 0.4.4 (current release) on my testing instance - which failed with:
{"reqId":"sz9PoXLyETpTpg8en8Da","level":3,"time":"2020-04-03T18:46:02+00:00","remoteAddr":"127.0.0.1","user":"smn","app":"PHP","method":"POST","url":"/apps/cospend/importCsvProject","message":"Undefined offset: 12 at /var/www/nextcloud/apps/cospend/lib/Service/ProjectService.php#3639","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0","version":"18.0.2.2"}
{"reqId":"sz9PoXLyETpTpg8en8Da","level":3,"time":"2020-04-03T18:46:02+00:00","remoteAddr":"127.0.0.1","user":"smn","app":"PHP","method":"POST","url":"/apps/cospend/importCsvProject","message":"Undefined offset: 12 at /var/www/nextcloud/apps/cospend/lib/Service/ProjectService.php#3639","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0","version":"18.0.2.2"}
{"reqId":"sz9PoXLyETpTpg8en8Da","level":3,"time":"2020-04-03T18:46:02+00:00","remoteAddr":"127.0.0.1","user":"smn","app":"PHP","method":"POST","url":"/apps/cospend/importCsvProject","message":"Undefined index: n at /var/www/nextcloud/apps/cospend/lib/Service/ProjectService.php#3724","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0","version":"18.0.2.2"}
This also happens when I export a project and try to import it on the same instance.
Edited by Simon