Your message dated Sat, 24 Feb 2018 04:28:46 +0000
with message-id <>
and subject line Bug#890598: Removed package(s) from unstable
has caused the Debian Bug report #883418,
regarding dolibarr: EDM module does not work because of jQuery version
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact

Debian Bug Tracking System
Contact with problems
--- Begin Message ---
Package: dolibarr
Version: 4.0.2+dfsg4-2
Severity: important
Tags: patch

After upgrading from to stretch, module EDM does not work anymore.
Firefox's webconsole prints this:
'TypeError: v.selector is undefined (jquery.layout.min.js:123:157)'

After investigation it appears that this problem is Debian specific.
Dolibarr from upstream includes jquery v1.12 while Debian's package
provides jquery v.3.1 from package libjs-jquery and unfortunately
EDM uses a jquery plugin (UI Layout) which was not updated to be
compatible with jquery v3.

The problem is already known:

I attach a simple patch for the Debian package using the
workaround proposed in issue 17.

Index: b/htdocs/
--- a/htdocs/
+++ b/htdocs/
@@ -1145,6 +1145,7 @@ function top_htmlhead($head, $title='',
             // jQuery Layout (still used by ECM module)
             if (defined('REQUIRE_JQUERY_LAYOUT'))
+                print '<script type="text/javascript">(function ($){$.fn.selector = { split: function() { return ""; }};})(jQuery);</script>\n';
                 print '<script type="text/javascript" src="'.DOL_URL_ROOT.'/includes/jquery/plugins/layout/jquery.layout.min.js'.($ext?'?'.$ext:'').'"></script>'."\n";
             // jQuery jnotify

--- End Message ---
--- Begin Message ---
Version: 5.0.4+dfsg3-1+rm

Dear submitter,

as the package dolibarr has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see

The version of this package that was in Debian prior to this removal
can still be found using

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing

Debian distribution maintenance software
Scott Kitterman (the ftpmaster behind the curtain)

--- End Message ---

Reply via email to