Bugzilla – Bug 12349
JSON communication over cometd changed in 7.4 SQLite builds
Last modified: 2011-05-23 09:21:52 UTC
I've currently got an issue with the 7.4 SQLite builds of SC and iPeng. The JSON encoding over cometd changed for item IDs. IDs are either a string (for URLs) or a number (for DB IDs). Up until 7.4 MySQL builds these IDs were always transmitted as a string (that is: numbers had quotes areound them as in "20" as opposed to 20). Now they are numbers. While this is a small change it breaks the current iPeng distribution version on the App Store. I do have a fix, yet if it's not an intentional change it may be worthwhile to change it back to the old behavior to keep iPeng working with 7.4 beta
Must be related to the latest JSON::XS version being used.
Any chance to change it?
Give change 27032 a try, let me know if there are more cases where it happens.
SQLite bugs need to go back to 7.6 target.
No idea, iPeng is now safe against wrong types all over the place. I believe it still happens a lot, I especially see a lot of "text" fields that actually use a numeric encoding if the content of the text field is a number which will confuse any strict JSON parser. I believe the original request (DB IDs) is no longer an issue (and never has been since the 7.4 release) because the IDs have switched to string IDs anyway...