#1033072 mailman3-web: After upgrade, moderation operations are broken

#1033072#5
Date:
2023-03-16 22:24:59 UTC
From:
To:
Dear Maintainer,

I had a working mailman3 installation.  I did 'apt upgrade' which pulled
in a new python3-hyperkitty and nginx.  Now when trying to manage
'held messages' on a list:
  -- the checkbox next to 'Subject' does not toggle all the checkboxes below it.
  -- Clicking on a held message does not switch to a page where I can manage
     the sender of that message. In fact it does nothing.

I suspect the javascript to run this is broken somehow.
In my bro3wser console when looking at teh javascript I see:

Uncaught TypeError: Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.
    at Object.jQueryDetection (bootstrap.min.js:34:98)
    at bootstrap.min.js:34:407
    at bootstrap.min.js:6:200
    at bootstrap.min.js:6:288
main.js:38 Uncaught ReferenceError: $ is not defined
    at main.js:38:1
held_messages:445 Uncaught ReferenceError: $ is not defined
    at held_messages:445:7
held_messages.js:3 Uncaught ReferenceError: $ is not defined
    at loadjs (held_messages.js:3:3)
    at held_messages:452:1

The held_messages source file refers to jquery-3.6.0; but
jquery-1.11.3 is installed in /var/lib/mailman3/web/static/postorius/libs/jquery


I notice that version 3.6 is in
/usr/share/python3-django-postorius/static/postorius/libs/jquery ...
should the nginx snippet in /etc/mailman3 be updated to point here?

For now I deleted /var/lib/mailman3/web/static/postorius and replaced it
with a symlink to /usr/share/python3-django-postorius/static/postorius