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

UpdateMembershipRecord - Membership Log Values not Set Correctly and Reminder Date not Cleared

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: None
    • Fix Version/s: 1.7
    • Component/s: CiviMember
    • Labels:
      None

      Description

      Two problems in UpdateMembershipRecord script:

      1. The membership object was not defined - and so the membership_log inserts failed.

      2. When a reminder was sent, the membership.reminder_date was set to 0000-00-00 instead of NULL. This causes reminders to be sent for every run of the script once they are sent the first time (0000-00-00 is always < today).

        Attachments

          Activity

            People

            • Assignee:
              kiran.jagtap Kiran Jagtap
              Reporter:
              dgg David Greenberg
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: