Style editor does not escape style replacement confirmation errors, fails in languages using single quote

Description

It's impossible to copy an existing sld style or to generate one from defaults styles.

Environment

Windows 10 - JRE 8u92 64bits

Activity

Show:
Andrea Aime
June 4, 2016, 10:21 AM
Edited

Hi, I've just did the same in FF 46 against demo.geo-solutions.it/geoserver and worked fine for me:

Wondering if it has anything to do with the local language (mine is italian, but there is no translation for it, so the UI is in english).
If I check the sources in firebug script tab I see the following at the very end:

It contains a block that seems identical to yours (minus the page ids, that cannot be the same)... I don't see significant differences:

Andrea Aime
June 5, 2016, 11:27 AM

Yep, confirmed, the issue happens with languages using single quotes in the confirmation message, they are not escaped.

Andrea Aime
June 19, 2016, 2:21 PM

Should have been solved, you can try out the fix using a nightly build dated June 20th or later: http://ares.boundlessgeo.com/geoserver/2.9.x/

Andrea Aime
June 19, 2016, 2:22 PM

Btw, we are experiencing network issues on the build server, so the build might not appear tomorrow

Andrea Aime
February 15, 2017, 11:48 AM

Mass closing all resolved issues not modified in the last 4 weeks

Fixed

Assignee

Andrea Aime

Reporter

fournel

Triage

None

Fix versions

Affects versions

Priority

Medium