Ids in multiRecordAction empty when "Select ~10,xxx records matching current filter"

When checking the checkbox for all matched records for a multiRecordAction in the datamanager grid, the field ids, that is submitted to the function is empty.

When selecting some records manually the field ids is correct and filled with the selected IDs.

Tested in the latest 10.23.10 (can’t move to 10.24. atm).

Any idea what’s wrong here?

Great question :slight_smile: There’s nothing “wrong” in this case. When select “all matching” is used, we can’t send an array of IDs (i.e. what if “all” meant 10,000,000 rows…)?

See the 10.16 upgrade notes that introduced this feature:

https://docs.preside.org/upgradenotes/10-16.html#datamanager-listing-batch-operations

(if you have custom batch operations, they’ll need to be updated to support this feature)

Shame on me!
I made a custom batch operation many versions ago and I didn’t realisied that this changed. Just copied the function and thought I hit a bug.

I’ll update my batch processes.
But this also means, the customer hasn’t used the batch for years.

Thanks for clarifying.

1 Like