markocupic / import-from-csv-bundle

Import data records from a CSV spreadsheet in the Contao Backend.
8 stars 4 forks source link

tl_member `groups` wird übersprungen #18

Closed ngdot closed 2 months ago

ngdot commented 1 year ago

Hi, unter Contao 4.13.34 mit PHP 8.2 wird der Import von Mitgliedern in die Tabelle tl_member das Feld groups einfach übersprungen, selbst mit deiner Test CSV.

markocupic commented 1 year ago

Hi @ngdot I cannot reproduce your issue. Could you post or send me an anonymized version of your CSV file?

ngdot commented 1 year ago

I've made a new test, fresh Contao 4.13 with just your extension. Same problem. I attached some screenshots and the test file (which is yours [just added the "https://" for the websites]). What surprises me is the display of the "groups" field on the import setup. It seems to be not recognized by the extension. As you can see, the import skips this field entirely. Im using symfony webserver on macos with php-fpm 8.2 and mysql 8.0.27

test.csv

SCR-20231111-mwrz

SCR-20231111-mwut

SCR-20231111-mwwr

markocupic commented 1 year ago

What happens if you surround the word "groups" with backticks in the header row of your CSV?

ngdot commented 12 months ago

If I surround the word "groups" with backticks, the import works partially. If there is a single value for "groups" in a row like 1, it works – but if we got two values with the shema 1||2 it doesnt work.

image

image

markocupic commented 12 months ago

@ngdot Please contact me via email to arrange how we could debug this issue.