Problem/Motivation

In 11.3, WorkbenchAccessControlDeriver::getDerivativeDefinitions is not generating the definitions, causing error messages like The "entity_hierarchy:node__field_parent" plugin does not exist. Valid plugin IDs for Drupal\workbench_access\WorkbenchAccessManager are: taxonomy, menu while running updates.

I haven't traced it down specifically, but the issue comes from $this->entityFieldManager->getFieldMapByFieldType('entity_reference_hierarchy') no longer working. Maybe because of #3045509: EntityFieldManager key/value field map gets out of sync, doesn't recognise bundle fields?

Steps to reproduce

  • Have a site with an entity_reference_hierarchy field
  • Update to 11.3
  • Observe the above error message

Proposed resolution

Use an alternate way of loading the entity_reference_hierarchy field

Remaining tasks

User interface changes

API changes

Data model changes

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

danielveza created an issue.