Skip to content

bad-expand

Severity: error

A Saved View’s expand or collapse id is not a node of the View once collapsed to its level, or has no children.

shop/services.yaml:

services:
web:
name: Web
relationships:
- to: cart
cart:
name: Cart
components:
cart-api:
name: Cart API
search:
name: Search
views:
structural:
front:
title: Front
level: c2
include: [web]
expand: [web]

Remove the id, include the Element in the View, or name an Element that has children.

shop/services.yaml:

services:
web:
name: Web
relationships:
- to: cart
cart:
name: Cart
components:
cart-api:
name: Cart API
search:
name: Search
views:
structural:
front:
title: Front
level: c2
include: [web, cart]
expand: [cart]