mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-02 14:18:46 +02: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
|
||
---|---|---|
.. | ||
BacktraceTest.php | ||
CsvBulkLoaderTest_Players.csv | ||
CsvBulkLoaderTest_PlayersWithCustomHeaderAndRelation.csv | ||
CsvBulkLoaderTest_PlayersWithHeader.csv | ||
CsvBulkLoaderTest_PlayersWithId.csv | ||
CsvBulkLoaderTest_PlayersWithIdUpdated.csv | ||
CsvBulkLoaderTest.php | ||
CsvBulkLoaderTest.yml | ||
CSVParserTest.php | ||
DeprecationTest.php | ||
FixtureBlueprintTest.php | ||
FixtureFactoryTest.php | ||
LogTest.php |