[Pkg-javascript-devel] Bug#1036792: libjs-jquery-flot: pie chart broken because of missing js code

Eric Le Lay eric.lelay at idnow.io
Fri May 26 09:57:52 BST 2023


Package: libjs-jquery-flot
Version: 4.2.1+dfsg-6
Severity: important

Dear Maintainer,
pie chart are broken in flot due to missing jquery.flot.pie.js code.

Steps to reproduce:
 1. apt install libjs-jquery-flot libjs-jquery-flot-docs
 2. firefox /usr/share/doc/libjs-jquery-flot-docs/examples/series-pie/index.html

Expected outcome: the pie chart shows up nicely

Actual outcome: empty X/Y chart

Furthermore, we can see that the plugin is not loaded, by inspecting $.plot.plugins:

    console.log($.plot.plugins.map(x => x.name).join(", "))
    ==> errorbars, log, symbols, flatdata, navigate, fillbetween, categories, stack, navigateTouch, hover, navigateTouch, time, axisLabels, selection, composeImages, legend

Expected: "pie" is in the array
Actual: it's not there

    curl \
    https://salsa.debian.org/js-team/flot/-/raw/debian/4.2.1+dfsg-5/source/jquery.flot.pie.js \
    -o /usr/share/javascript/flot/jquery.flot.pie.js

fixes the problem.



-- System Information:
Debian Release: 11.7
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-debug'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-22-amd64 (SMP w/12 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_WARN, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE, TAINT_AUX
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libjs-jquery-flot depends on:
ii  libjs-jquery  3.5.1+dfsg+~3.5.5-7

Versions of packages libjs-jquery-flot recommends:
ii  javascript-common  11+nmu1
pn  libjs-excanvas     <none>

Versions of packages libjs-jquery-flot suggests:
ii  libjs-jquery-flot-docs  4.2.1+dfsg-5

-- no debconf information



More information about the Pkg-javascript-devel mailing list