Skip to content

Pop up Validation error doesn't show up for SLD #3713

@allyoucanmap

Description

@allyoucanmap

Description

SLD validation error return a stateMessage with columnNumber and lineNumber instead of line column.
We need to parse also columnNumber and lineNumber.

In case of Bug (otherwise remove this paragraph)

Browser Affected
(use this site: https://www.whatsmybrowser.org/ for non expert users)

  • Internet Explorer
  • Chrome
  • Firefox
  • Safari

Browser Version Affected

  • all

Steps to reproduce

  • user needs to login as admin and MapStore configured with GeoServer to edit styles
  • open a map with a polygon layer
  • select layer in TOC and open the properties
  • select style tab and create a new SLD style from template
  • select the saved style in the list and click on edit </> icon
  • remove a close tag from style (eg: </sld:Name>)

Expected Result

  • error pop up shows up with the validation error

Current Result

  • error pop up doesn't shows up

Other useful information (optional):

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions