Cannot select entity context in IPE

Created on 11 April 2018, over 6 years ago
Updated 6 February 2023, almost 2 years ago

Problem/Motivation

When placing a block that uses the entity context inside a panelized node, selecting this context does not work due to validation errors.

Proposed resolution

After some trial and error, it seems this is due to the context not having a name which might or might not cause the #option to be ignored (maybe an array_filter call or something).

Remaining tasks

Review.

🐛 Bug report
Status

Needs work

Version

4.0

Component

IPE integration

Created by

🇩🇪Germany ckaotik Berlin

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇩🇪Germany jan kellermann

    At Drupal 9.5 we have this error:

    Error: Class "Drupal\panelizer\Plugin\PanelsStorage\ContextDefinition" not found in Drupal\panelizer\Plugin\PanelsStorage\PanelizerDefaultPanelsStorage->getEntityContext() (line 128 of .../modules/contrib/panelizer/src/Plugin/PanelsStorage/PanelizerDefaultPanelsStorage.php).

    We attached a new patch for Drupal 9.5 and panelizer 8.x-4.4

Production build 0.71.5 2024