(dev/core#285) Fixed second membership repeating reminder
authorPeter Haight <peterh@giantrabbit.com>
Wed, 24 Jan 2018 01:36:03 +0000 (17:36 -0800)
committerPeter Haight <peterh@giantrabbit.com>
Sat, 20 Apr 2019 20:52:24 +0000 (13:52 -0700)
commite08fae025bbf01a032fe8d35b5403133281a1881
tree3cb00d3f5378470dff85bf77231ceae7b5fc97e1
parent43c7186c67c9f7580396ba8b6c608b3f645c3e23
(dev/core#285) Fixed second membership repeating reminder

This fixes the code for reminders that need to be sent again when the
entity used for the date comparison changes. This is just membership
right now. With this fix, when a membership is updated, the scheduled
reminder conditions all act as if no reminders have been sent yet. This
means that if you setup a schedule reminder that is checking against
the membership end date, the schedule reminder will go out at the new
membership end date even though one already went out with the previous
end date.
CRM/Contribute/ActionMapping/ByPage.php
CRM/Contribute/ActionMapping/ByType.php
CRM/Event/ActionMapping.php
CRM/Member/ActionMapping.php
CRM/Upgrade/Incremental/sql/5.14.alpha1.mysql.tpl
Civi/ActionSchedule/Mapping.php
Civi/ActionSchedule/MappingInterface.php
Civi/ActionSchedule/RecipientBuilder.php
tests/phpunit/CRM/Core/BAO/ActionScheduleTest.php
xml/schema/Core/ActionLog.xml