Review Notifications 'Next Send' is stored in config yet gets changed automatically

Created on 4 July 2023, over 1 year ago
Updated 31 July 2023, over 1 year ago

Problem/Motivation

The next notification send date `review_notifications_next_send` is automatically updated based on the interval set. The interval is therefore configuration but the `review_notifications_next_send` is more of a 'state', should probably use https://www.drupal.org/docs/8/api/state-api/overview β†’ instead

Otherwise if you use a deployment workflow / drush deploy, your next send date will get set back into the past

Steps to reproduce

Configure review notifications
Have the review notification date pass
Config export and see that the configuration was changed dynamically

Proposed resolution

Change next send date to be stored in state instead of config

Remaining tasks

Patch/MR coming

User interface changes

None

API changes

None

Data model changes

None

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡¬πŸ‡§United Kingdom scott_euser

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024