Style editor preview fails on a data dir with missing css-legend.xml

Description

The code is supposed to copy over the layout but css-layout.xml is missing. Also "css" should not be part of the name anymore.
Currently it fails with this:

Environment

None

Status

Assignee

Andrea Aime

Reporter

Andrea Aime

Triage

Fix versions

Affects versions

None

Components

Priority

Medium
Configure