Inconsistent results on batch export

Created on 21 August 2025, about 2 months ago

Problem/Motivation

I've encountered problem with batch export when some of the rows are duplicated and some are gone, leading to serious problems with data consistency.
After finding https://www.drupal.org/project/views_data_export/issues/3120563 🐛 Inconsistent results when doing batch exports Active I've realised that my sroting criteria where operating on values that are not unique and changing this fixed the issue.
I appreciate the fact that information about that was added to readme.
However, I would like to suggest adding this also to the description of batch settings in view.

Proposed resolution

Change description of the "Batch" option in settings, from:

Exports data in sequences. Should be used when large amount of data is exported (> 2000 rows).

to:

Exports data in sequences. Should be used when large amount of data is exported (> 2000 rows).
It is important to sort the view on a unique identifier, such as nid or uid, to provide consistent results

I think this would help reduce number of situations where users have problem with inconsistent data, that might be hard to notice for a while

Feature request
Status

Active

Version

2.0

Component

Documentation

Created by

🇵🇱Poland besek

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024