- 🇲🇸Montserrat eloivaque Catalan Countries
I have the same problem and I apply solution of #3 and it's works for me.
I think the problem is generated by order of view, and number of iteration of batch. In my case, I have 1 view with content type, and reference 9 paragraphs. This generate 9 rows.
Content 1 Pragraphs 1
Content 1 Pragraphs 2
Content 1 Pragraphs 3
Content 1 Pragraphs 4
Content 1 Pragraphs 5
Content 1 Pragraphs 6
Content 1 Pragraphs 7
Content 1 Pragraphs 8
Content 1 Pragraphs 9The iteration of batch is defined to 5.
And the view is order date created of Content.I think that, when batch get 5 elements with sql consult, return this.
Content 1 Pragraphs 2
Content 1 Pragraphs 4
Content 1 Pragraphs 3
Content 1 Pragraphs 8
Content 1 Pragraphs 6Then the next sql return me 5 elements more, ordened by date of content type, and this for me, generate dupicate rows of paragraphs, and remove other paragraphs.
Content 1 Pragraphs 2
Content 1 Pragraphs 4
Content 1 Pragraphs 3
Content 1 Pragraphs 8
Content 1 Pragraphs 6
Content 1 Pragraphs 1
Content 1 Pragraphs 2
Content 1 Pragraphs 4
Content 1 Pragraphs 9I solved order the view with ID paragraphs unique value. And it's works for me.
Same story here, an additional order criteria helped to solve the issue. see #3
The bug is nasty and hard to grasp: The export is working and even the number of records is matching. You have to drill into your data to see the problem.This bug does really need more love. Also, in the first place I was wondering, why we need to batch execute an export with only 10k rows anyway ...
- 🇯🇵Japan hktang
We have encountered the same issue, and #3 🐛 Inconsistent results when doing batch exports Active fixes our export.
We had to add two IDs, the Content ID and the Author ID, for the export to work correctly.
- 🇺🇸United States DamienMcKenna NH, USA
We were seeing this problem with an export too, only our export was losing hundreds of records. The table was sorting by creation date and the problem was that migrated data from a number of years back had the same creation date, and due to problems with the pagination query it would show a provide result set over time. I added an extra sort field for the node ID, which is after the primary sort mechanism (the previously mentioned creation date), and now it works properly.
It might be worth adding some official documentation about this, maybe even add something in the display plugin's form, as I suspect there might be lots of sites having problems with this without even knowing it.
- 🇺🇸United States DamienMcKenna NH, USA
Retitling the issue as it's a general problem of inconsistent data, rather than just duplicate records.
- 🇮🇳India vishal.kadam Mumbai
I've identified the source of the batch export limit problem. It has to do with the sequence of query results.
In order to prevent changes in the query result sequence, add the unique fields to the sort.