Problem/Motivation

Steps to reproduce:

  1. Install with the minimal profile (or uninstall Views in the standard profile)
  2. Go to /admin/content

Expected:
An entity list for nodes
Actual:
Fatal error

The node condition plugin looks for a node parameter on the route.
There is no single node to upcast on the node listing.
The route is marked as having a node parameter, with none available.

Proposed resolution

Do not mark the entity type as a parameter for _entity_list

Remaining tasks

N/A

User interface changes

API changes

N/A

Comments

tim.plunkett’s picture

Status: Active » Needs review
StatusFileSize
new1.42 KB
dawehner’s picture

Status: Needs review » Needs work

There are a couple of more references to _entity_list in various docs in the entity resolver manager.

alexpott’s picture

Status: Needs work » Needs review
StatusFileSize
new824 bytes
new2.12 KB

Fixed up the docs.

dawehner’s picture

Status: Needs review » Reviewed & tested by the community

Thank you alex!

  • Dries committed 30c3117 on 8.x
    Issue #2298993 by alexpott, tim.plunkett: Fixed routes using...
dries’s picture

Status: Reviewed & tested by the community » Fixed

Good catch. Committed to 8.x.

Status: Fixed » Closed (fixed)

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