Edit Layer page does not load custom legend graphics

Description

In the "Publishing" section of the "Edit Layer" page, the Default Style legend is always the generated one.
If the selected style specifies a custom legend graphic, it is not displayed in the page.

This does not affect the "GetLegendGraphic" wms requests, only the administration interface.

To reproduce with the standalone package:

Environment

None

Assignee

Unassigned

Reporter

Gnafu

Triage

None

Fix versions

None

Affects versions

Components

Priority

Low
Configure