[Pkg-sympa-devel] Bug#855199: sympa web interface broken with jquery v3

Ander Punnar debian at kvlt.ee
Wed Feb 15 11:49:18 UTC 2017


Package: sympa
Version: 6.2.16~dfsg-2
Severity: important

sympa upstream ships with jquery v1.11.1, but next stable stretch ships
v3.1.1-2, which breaks web interface (unable to use hover menus).

please add libjs-jquery-migrate-1 into dependencies and patch
head_javascript.tt2 until upstream migrates to newer jquery.

also, quick workaround:

# apt-get install javascript-common libjs-jquery-migrate-1
# service apache2 reload
# cd /etc/sympa/web_tt2
# cp /usr/share/sympa/default/web_tt2/head_javascript.tt2 .
# vim /usr/share/sympa/default/web_tt2/head_javascript.tt2
# diff -u /usr/share/sympa/default/web_tt2/head_javascript.tt2 head_javascript.tt2
--- /usr/share/sympa/default/web_tt2/head_javascript.tt2        2016-11-25
12:41:16.000000000 +0200
+++ head_javascript.tt2 2017-02-15 13:24:15.114609026 +0200
@@ -54,6 +54,7 @@
 <!-- Now retrieving the javascript files -->

  <script src="[% static_content_url %]/external/jquery.js"></script>
  +<script src="/javascript/jquery-migrate-1.js"></script>

   <script src="[% static_content_url %]/external/jquery-ui.js"></script>



More information about the Pkg-sympa-devel mailing list