@utrautmann Thanks for reporting this, the clear steps and screenshots are much appreciated :+1:
I've managed to recreate the issue. It looks like a string escaping bug when passing axis names to jqPlot, when fixing this we should add UI tests for goals containing double and single quotes in their names.
That one is another issue with automatically sanitizing input values (See #11786 or #4231). The goals name is stored sanitized. E.g. a
" is converted to
.text() on the clicked element. But as it's a html element, reading text decodes
" back to
", causing the values not to match anymore. I'll prepare a PR that workarounds that issue for that special case, but I'm pretty sure something similar might happen again til we get rid of the input sanitizing.