mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
bd5c8520bb
It was using $fieldName, which is the CSV field name, not the database field name. This prevents duplicate detection from working. It now properly uses $SQL_fieldName. Update CsvBulkLoaderTest to remove keys that are nonexistent in the CSV test data. Having them causes the test to fail with an undefined-index error. This did not previously fail because of the bug in CsvBulkLoader that this patch fixes. This partially reverts c4eac53.