Comment 5 for bug 886456

Revision history for this message
Pau Garcia Quiles (pgquiles) wrote :

I've compared the jQuery versions related to this issue:

- jQuery 1.4b1 (bundled with Wt 3.1.10)
- jQuery 1.5-2ubuntu1 (shipped by Ubuntu 11.04)
- jQuery 1.6.2-1ubuntu2 (shipped by Ubuntu 11.10)

I regenerated the jQuery packages on 11.04 and 11.10, and applied filetostring.cmake to convert them to C++.

This is the result:

pgquiles@oneiric64:~/wt/a$ md5sum *
847945778a448af8cd0af49c4e69a6ee jquery.js-1.5-natty
847945778a448af8cd0af49c4e69a6ee jquery.js-1.5-oneiric
12840be281cca027968c56e19ebdf6ec jquery.js-1.6.2-natty
12840be281cca027968c56e19ebdf6ec jquery.js-1.6.2-oneric
db9b022b25cf21e6b8023ff686d637ac JQuery_JS.C-1.4b1-natty
db9b022b25cf21e6b8023ff686d637ac JQuery_JS.C-1.4b1-oneiric
f0803b771699e16860fb90f64899ffac JQuery_JS.C-1.5-natty
83234f7c275d96b9223ffa9067dc77e5 JQuery_JS.C-1.5-oneiric
9e8290f9029bdb6930377e7a144d4008 JQuery_JS.C-1.6.2-natty
9e8290f9029bdb6930377e7a144d4008 JQuery_JS.C-1.6.2-oneiric
6cb36d071e8e0f90c747d99d50a82938 jquery.min.js-1.5-natty
a1120f122bef83736945b57a82d7ef99 jquery.min.js-1.5-oneiric
9aa1f726fb931af7714ab894702ae051 jquery.min.js-1.6.2-natty
9aa1f726fb931af7714ab894702ae051 jquery.min.js-1.6.2-oneiric

Apparently, there is no difference in the jquery.min.js or the C++ code generated by filetostring from 11.04 or from 11.10.

(There are differences in jQuery 1.5, but they do not affect us, as that's what was used in 11.04, and that version worked fine)

Maybe Wt does is incompatible with jQuery 1.6.2? (changing from jQuery 1.4 to 1.5/1.6 has reportedly caused problems in the Wordpress package).

According to Koen, the problem is a missing '\'. I can't see at the moment how could an incompatibility cause a disappearing '\'. I'm still trying to isolate the problem.