Details
Description
Only the first 25 entries per mapping ID in civicrm_action_schedule are being considered when the cron job to send reminders is triggered.
It appears to be a regression introduced by CRM-14108.
The default limit (aka rowCount) for an API call is 25 unless otherwise specified. As a result of CRM-14108, _civicrm_api3_dao_set_filter is called before we query the civicrm_action_schedule, so the default 25 records are retrieved. I can't think of a use case when we don't want all records retrieved.
To further compound the problem, if you pass NULL as $rowCount, you get a a limit clause of: 0, 0 (meaning no records are passed).
We need a way to tell the API to not limit the results.