[Geoserver-devel] [JIRA] (GEOS-10013) Mark invalid error while validating or saving a Style+

Marco Volpini created an issue

GeoServer / BugGEOS-10013

Mark invalid error while validating or saving a Style+

Issue Type:

BugBug

Assignee:

Marco Volpini

Created:

08/Apr/21 10:40 AM

Priority:

MediumMedium

Reporter:

Marco Volpini

When editing a style from the UI when save or validate is pressed the editor return “Mark invalid error”.
The problem lies in the SLD handler when the style version is read. Although the reader stop after the version number is found, the reset method called later on the BufferedReader throws exception as if the XML_LOOKAHEAD value is not sufficient.
https://github.com/geoserver/geoserver/blob/76cda92450691cebc30c85fb3f5ac1cbf91c3596/src/main/src/main/java/org/geoserver/catalog/SLDHandler.java#L338

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#100156-sha1:30e6260)

Atlassian logo