You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
and now you can choose your own delimiter as mentioned in the doc.
Steps to Reproduce
just try to upload a csv file with a semi-column as separator and you will see that none of the values are filled in - It gives the feeling that the mapping is not done but it's just a delimiter problem.
Help us with step-by-step instructions.
See the line to add in the code to correct the bug.
I am sorry not to provide the solution the proper way (using forks etc...) but I am not familiar with git.
The text was updated successfully, but these errors were encountered:
lienajp
changed the title
SS 4.3.3 - csvBulkLoader - delimiter not used
SS 4.3.3 - csvBulkLoader - delimiter not used - bug easy to fix - solution in here
Apr 1, 2019
Affected Version SS4.3.3
Description
When uploading csv data through the csvBulkLoader, you cannot use another delimiter than the comma. The $delimiter variable is not used.
In vendor/silverstripe/framework/src/Dev/CsvBulkLoader.php
add the following line
$csvReader->setDelimiter($this->delimiter);
just after this code
and now you can choose your own delimiter as mentioned in the doc.
Steps to Reproduce
just try to upload a csv file with a semi-column as separator and you will see that none of the values are filled in - It gives the feeling that the mapping is not done but it's just a delimiter problem.
Help us with step-by-step instructions.
See the line to add in the code to correct the bug.
I am sorry not to provide the solution the proper way (using forks etc...) but I am not familiar with git.
The text was updated successfully, but these errors were encountered: