Cron warning message always shows

Created on 21 February 2024, 10 months ago
Updated 23 February 2024, 10 months ago

Problem/Motivation

In order to get the "It is recommended to install automated_cron or..." message, you must have automated_cron AND ultimate_cron enabled to make it go away when only one should be required.

In ik_constant_contact.module on line 135 the check should be:
(!$this->moduleHandler->moduleExists('automated_cron') && !$this->moduleHandler->moduleExists('ultimate_cron'))
that way as long as one of them is installed this check will return false-y.

Right now, as an OR check, as long as one of them is uninstalled this message will show.

Steps to reproduce

1. Install fresh Drupal 10 instance.
2. Install ik_constant_contact module.
3. Install automated_cron module.
4. Navigate to /admin/config/services/ik-constant-contact and notice the warning message about cron is still there.

Proposed resolution

Update the if check to be AND so only one of the modules is required.

Remaining tasks

N/A

User interface changes

N/A

API changes

N/A

Data model changes

N/A

πŸ› Bug report
Status

Fixed

Version

3.1

Component

User interface

Created by

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

Comments & Activities

Production build 0.71.5 2024