Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-14319

not all scheduled reminders are being sent

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.4.4
    • Fix Version/s: 4.5
    • Component/s: CiviEvent
    • Sprint:
      Sprint 1

      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.

        Attachments

          Activity

            People

            • Assignee:
              yashodha Yashodha Chaku
              Reporter:
              jamie Jamie McClelland
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: