- Merge request !805fix: #3568039 Use fgetcsv() to advance offset during batch imports → (Merged) created by drclaw
When batch importing, the offset is fast forwarded using fgets() to jump ahead by the offset number of lines, but if your CSV has fields that include newlines in the value, this won't actually offset it by the right amount and you'll end up with errors like Row #101: 123 values expected and only 1 found
I think the fix is to just use fgetscsv() when advancing the offset. It's what we do in ::getTotal() to get the count so it seems logical here. MR incoming!
Active
6.2
Submissions
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.