Delete Layergroup causes errors: sub-layergroups were not totaly deleted

Description

Hi, I wanted to delete a layergroup containing 2 sub-layergroups, each with one single layer inside. I started with the top - layergroup. After the deletion, I can't select and see the sub-layers in geoserver anymore. But it seems, they were not automaticaly deleted, because trying to delete the remaining layers (I can choose this single layers) lead to the error (below). They are still in the folder /layergroups.

Environment

Version 2.11.0
Git Version 43069ede17858a25592f14b5e159c20cd25619fc
Build-Datum 22-Mar-2017 19:08
GeoTools Version 17.0 (rev cf34347a4544cac900c09f2e5de4c5fb138c8637)
GeoWebCache Version 1.11.0 (rev 1.11.x/02b79570ae64d548f9fb39bcab5edc9cb4d0c992)
Firefox 57.0.4

Status

Assignee

Unassigned

Reporter

Jeanette Wachter

Triage

Fix versions

None

Affects versions

2.11.0

Priority

Medium
Configure