Data-Type "Notes" YSODs when value contains an apostrophe
Just had this beat me on the head again, so wanted to log it for future reference (or for nostalgia, whichever comes first :-)
Also couldn't find any closed issues about it (even though I've hit this more than once), so here it is:
If an apostrophe ( ' ) is used in the Notes data-type's value, it doesn't save, and it throws a nasty YSOD in the back-office - which means we can't write help text like this:
You can't use this because of XYZ
But have to resort to:
You can not use this because of XYZ
I bet it's JSON-related, since XML loves apostrophes so much it even has a special entity just for them :-)
Thanks for the note (sic) @greystate!
There was this only issue about it: http://ucomponents.codeplex.com/workitem/14820
Do you get the "potentially dangerous Request.Form value was detected" error? I'm guessing not.
Ah - that's the one - I knew I'd seen something about it before.
Yes, I get that exact error. And FWIW, I'm living fine with the workaround - just wanted to log it so my brain remembers 'till next time :)
Also: Not losing any data either, since the back button takes me back to the second before I hit "Save". :+1: