Last modified: 2014-02-12 23:38:28 UTC
Hi. I'm running SMW bundle 1.18 on ME 1.19.3. I have the following: {{#formlink:form=Subsection Form|link text=Add a Subsection|link type=button|query string=Subsection[Parent]={{{Page Title|}}}}} If Page Title contains an apostrophe, the value is truncated at the apostrophe. Example. If Page Title is "What's New" the field in the form just contains "What" I remember this problem a while back with SMW 1.5 and SF 2.0 and it was fixed then. So perhaps this is a regression. Any ideas for a fix or workaround? Thanks.
Fix to this of course would be to urlencode the value when passing it and then urldecoding it.
Hmm. It also cannot cope with the & character. So you can pass field values such as "Hours & minutes". Ampersands are even more common than apostrophes, so this is becoming quite a painful limitation.
Ditto for + char. So you cannot pass field values such as "Age 21+".
I am getting this too. I have a template that defines a book. In this template I have a form link to allow people to submit a review. The formlink is shown below. {{#formlink:form=Book Entry|link text=Add a Book|link type=button|query string=Book[Title]={{{Page Title|}}}}} If the book's Page Title contains ' & + £ etc then the Book[Title] field is chopped off at the affected character. So books with names like the following do not work Get an A+ in Math Pride & Prejudice Schindler's List These characters are very common, so this should work ideally.