Last modified: 2011-12-08 03:58:13 UTC
If a combobox value is something like: People's Republic of China it will be displayed as: People\'s Republic of China If that value is then selected, and used as a value in the dropdown again later, it will be displayed as: People\\'s Republic of China The combobox needs to recognize these character escapes and display them in the correctly interpreted human-readable version, and also avoid repeatedly piling them on with escaping the escapes until we get something that looks like: People\\\\\\\\\\\\'s Republic of China This bug may be related to this one: https://bugzilla.wikimedia.org/show_bug.cgi?id=30042
This indeed sounds like a serious bug, but I can't reproduce it. Is it visible on a public wiki?
Yes, use the login user: Demo pass:test http://www.coincompendium.com/wiki/index.php/Special:FormEdit/Type/CCT31 Look at the fields for Country and Issuer. If you click the dropdowns, you will see the escape code for the apostrophe. If someone selects the dropdown items, you'll see this: http://www.coincompendium.com/wiki/index.php/Special:FormEdit/Type/CCT36 Notice on that page that the dropdown list's escapes are accumulating.
I still don't see the issue. For both of those pages, the form is correctly showing the contents of the page, and when submitted it correctly saves the value from the dropdown.
Marking this as "worksforme".
I made a demo for this bug here: http://www.coincompendium.com/wiki/index.php/Sandbox/Bug_32648 You can see that the combobox values are being filled with an apostrophe, but it displays it as \' and that's what it puts in the field when it is selected.
You're using an older version of SF (2.2.1) - try upgrading.
Nice, it looks like a new version is out within the last week. I'll upgrade and test to see if the problem goes away, and report back.
The upgrade is complete, and the problem is still there. Are you able to reproduce it?
Ah - the issue was the combination of combobox and "values from property". This is now fixed in SVN.
Thanks for finding that Yaron. Krinkle gave me some advice today about how to strip down a demo to better isolate problems for bug reports. I'm pleased to see it works as he promised.
Did it involve providing demos that actually demonstrate the bug in question? :)