Problem/Motivation

i'd like to use a LoopWorker with ultimate_cron, which currently fails with the message:

[warning] Undefined variable $job_id UltimateCronJobDiscovery.php:72

In ConfigEntityStorage.php line 242:

  The entity does not have an ID.

Steps to reproduce

1. Enable ultimate_cron
2. Enable the test module
3. Clear the cache

Proposed resolution

1. Create a helper function to create a job_id, use that in both places in UltimateCronJobDiscovery.php

Remaining tasks

User interface changes

none

API changes

none

Data model changes

none

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

stmh created an issue. See original summary.

stmh’s picture

Assigned: stmh » Unassigned
Status: Active » Needs review

I discovered another small bug (partial exception message) which I fixed in this MR. Ready to be reviewed.