You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The RouteEntity producer currently only works with entities with route name of format anything.TYPE_NAME.anything.
Code which shows that (RouteEntity.php):
This does not work with views which have a path assigned, because views have the following routename format: view.VIEW_ID.PAGE_ID.
When you use the RouteEntity producer on a path which translates to a view, it will throw an error:
Drupal\Component\Plugin\Exception\PluginNotFoundException: The "__SOME_VIEW_ID__" entity type does not exist. in Drupal\Core\Entity\EntityTypeManager->getDefinition() (Line 143 in /docroot/core/lib/Drupal/Core/Entity/EntityTypeManager.php).
There should be a check implemented for entity / view. Something like this:
The
RouteEntity
producer currently only works with entities with route name of formatanything.TYPE_NAME.anything
.Code which shows that (RouteEntity.php):
This does not work with views which have a path assigned, because views have the following routename format:
view.VIEW_ID.PAGE_ID
.When you use the RouteEntity producer on a path which translates to a view, it will throw an error:
There should be a check implemented for
entity / view
. Something like this:The text was updated successfully, but these errors were encountered: