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

Scheduled reminders for "Also Include <Contact>" sent prematurely

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 4.6, 4.7
    • Fix Version/s: None
    • Component/s: Core CiviCRM
    • Labels:
      None
    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      User and Admin Doc
    • Funding Source:
      Needs Funding

      Description

      (Assigning to Coleman for triage.)

      Steps to reproduce:

      1. Checkout https://github.com/civicrm/civicrm-core/pull/7683 ( aka https://github.com/totten/civicrm-core/tree/master-16514-tests/ )
      2. Run "./scripts/phpunit --group ActionSchedule CRM_AllTests"
      3. Observe: CRM_Contribute_ActionMapping_ByTypeTest fails in scenario "addAliceDues scheduleForAny startOnTime useHelloFirstName alsoRecipientBob"

      That's a bit terse; in English, that's like:

      1. Create contacts Alice and Bob.
      2. Add a contribution record (type==Dues) for Alice (with receipt date on Feb 1).
      3. Create a scheduled reminder to deliver on the contribution receipt-date.
      4. Set the scheduled reminder to send an email ("Hello, {first name}

        ").

      5. Set the scheduled reminder to also include Bob.
      6. Manipulate the clock and perform several cron-runs (once a day from Jan 20 to Mar 1).

      Notes:

      (This issue is an offshoot from CRM-16514.)

        Attachments

          Activity

            People

            • Assignee:
              colemanw Coleman Watts
              Reporter:
              timotten Tim Otten
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: