[Geoserver-devel] [JIRA] (GEOS-8930) Style Editor Legend Preview is not consistent with actual style

Gnafu created an issue

GeoServer / BugGEOS-8930

Style Editor Legend Preview is not consistent with actual style

Issue Type:

BugBug

Affects Versions:

2.14-RC

Assignee:

Unassigned

Components:

Wicket UI, WMS

Created:

13/Sep/18 11:46 AM

Environment:

Latest platform independent binary package on Windows 10

Priority:

MediumMedium

Reporter:

Gnafu

The Style editor fetches the custom legend image from the same folder of the style, if it does not find it, it searches in the main “styles” directory.
The WMS will only search in the same folder of the style.

So if the image is in the main “style” directory, and the style is actually inside a workspace, the preview will still show a correct preview, when the WMS will fail to fetch the legend image and fallback to the generated one.

The two different behaviors should be aligned.

To reproduce:

NOTE: This is testable on vector styles only until GEOS-7636 Open is merged (it prevents raster styles to show legends at all)

Add Comment

Add Comment

Get Jira notifications on your phone! Download the Jira Cloud app for Android or iOS


This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100092-sha1:149ae94)

Atlassian logo