New schedule reminder effective start/end UI elements are blank in UI when editing scheduled reminder that had these fields set originally
Overview
A new UI option in event scheduled reminders allows to set an effective start/end date for the reminder. When a schedule reminder is edited that had this option set, the values are not populated in the UI.
I tried testing in dmaster and it appears that the initial value set is actually recorded and respected, but there is no way to subsequently edit that value.
Related PRs:
- https://github.com/civicrm/civicrm-core/pull/19973
- https://github.com/civicrm/civicrm-core/pull/20432
Reproduction steps
- Go to dmaster.demo.civicrm.org
- Create an event
- Still editing the event, go to the scheduled reminders tab. Create a schedule reminder that fires 1 hour before the event start and set an effective end date.
- Save the scheduled reminder and save/close the event.
- Go back in to edit the event.
- From within the event, edit the scheduled reminder
- The "event effective end date" field will be empty.
Example when reloading the scheduled reminder:
Current behaviour
Event effective end date and event effective start date are empty in the UI when editing a scheduled event that has these fields set.
This behaviour occurs whether effective start date and effective end date are set, and also if just one of those are set.
Expected behaviour
Event effective end date and event effective start date should be populated with the values that were originally set when the scheduled reminder is created.
Environment information
dmaster.demo.civicrm.org accessed on Aug 3, 2021 CiviCRM 5.41.alpha1