Problem/Motivation

On the entity update hook, all related jobs are retrieved for the daily bucket functionality. When there are jobs for that entity that used a provider that is no longer present, the following error is thrown:
The job has no provider assigned.

This block the entity from saving.

Steps to reproduce

Create a provider, request translations for a content entity and complete the flow to the provider and back to Drupal. Enable entity tracking in de extension suit settings. Remove the provider and create a new one. Edit the content and save. The above error will be thrown and the content is not saved.

Proposed resolution

Check for all jobs that it has a valid provider.

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:

Comments

j_bekaert created an issue. See original summary.

j_bekaert’s picture

Assigned: j_bekaert » Unassigned
Status: Active » Needs review
j_bekaert’s picture

Title: Error when jobs when removed provider exist » Error with jobs when removed provider exist
j_bekaert’s picture

Title: Error with jobs when removed provider exist » Error when jobs exist with a deleted provider