Problem/Motivation

When enabling "lupus_decoupled" module with custom_elements 3.1 in latest Drupal 11.x dev I get this error:

The website encountered an unexpected error. Try again later.

Drupal\Core\Entity\Exception\NoCorrespondingEntityClassException: The Drupal\layout_builder\Entity\LayoutBuilderEntityViewDisplay class does not correspond to an entity type. in Drupal\Core\Entity\EntityTypeRepository->getEntityTypeFromClass() (line 111 of core/lib/Drupal/Core/Entity/EntityTypeRepository.php). 

Looks like a re-incarnation of #3504718: Error when enabling lupus_decoupled_layout_builder

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

fago created an issue. See original summary.

fago’s picture

fago’s picture

Status: Active » Needs review
fago’s picture

I noted there are phpcs and phpstan issues also. I added a schedule pipeline exeuction on daily basis so we see this earlier + tried to fix it as part of this MR

  • fago committed d6966c40 on 1.x
    [#3543765] fix: NoCorrespondingEntityClassException when enabling...
fago’s picture

Status: Needs review » Fixed

Fix has test coverage, so moving on.

Now that this issue is closed, please review the contribution record.

As a contributor, attribute any organization helped you, or if you volunteered your own time.

Maintainers, please credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.