-
Notifications
You must be signed in to change notification settings - Fork 146
Description
Hi,
I'm running into the following issue with my customer import, but I found the same logic is also applied to the other imports.
Say I want to import 5 customer rows. Row number 1 contains invalid data (duplicate email) and the row number is added to _invalidRows. The data for this row will not be prepared for import, so is no longer included in the bunches.
When the import comes to importing the data after it has been validated (continue after errors is set to yes), there are 4 rows remaining, but the rownumbers are reset, so we have row 0 to 3. When the importer validates each row in the _saveCustomers() function, it says row number 1 is invalid. However this is no longer true, as row number 1 is no longer in the bunch data, so actually valid data is invalidated and not imported.