Problem/Motivation
The following error is triggered when visiting any page after deleting an ECK entity type:
Drupal\Component\Plugin\Exception\PluginNotFoundException: The "testje" entity type does not exist. in Drupal\Core\Entity\EntityTypeManager->getDefinition() (line 139 of core/lib/Drupal/Core/Entity/EntityTypeManager.php).
Drupal\scheduler\SchedulerPluginBase::create(Object, Array, 'scheduler_eck:testje', Array) (Line: 21)
Drupal\Core\Plugin\Factory\ContainerFactory->createInstance('scheduler_eck:testje', Array) (Line: 83)
Drupal\Component\Plugin\PluginManagerBase->createInstance('scheduler_eck:testje') (Line: 961)
Drupal\scheduler\SchedulerManager->getPlugins(NULL) (Line: 999)
Drupal\scheduler\SchedulerManager->getPluginEntityTypes() (Line: 756)
scheduler_entity_base_field_info(Object) (Line: 291)
Steps to reproduce
Visit any page after deleting an ECK entity type.
Proposed resolution
Invalidate the scheduler plugins after an ECK entity type is deleted.
Issue fork scheduler_eck-3331557
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
Comment #2
dieterholvoet commentedComment #5
dieterholvoet commented