[DRE-maint] Bug#1118574: redmine: "Uncaught Error: If you load both jquery_ujs and rails-ujs, use rails-ujs only"

Soren Stoutner soren at debian.org
Thu Oct 23 20:51:33 BST 2025


Thanks for the bug report.

It looks like the Debian package has not kept up with the upstream changes 
relating to jquery.  I think I can fix this problems with the following 
changes, but I want to test them first to make sure they work.

Update debian/use-system-jquery-libs.patch to remove the following two lines:

https://salsa.debian.org/ruby-team/redmine/-/blob/debian/latest/debian/
patches/use-system-jquery-libs.patch?ref_type=heads#L14

https://salsa.debian.org/ruby-team/redmine/-/blob/debian/latest/debian/
patches/use-system-jquery-libs.patch?ref_type=heads#L16


Remove ruby-jquery-rails and libjs-jquery from debian/control:

https://salsa.debian.org/ruby-team/redmine/-/blob/debian/latest/debian/
control?ref_type=heads#L23

https://salsa.debian.org/ruby-team/redmine/-/blob/debian/latest/debian/
control?ref_type=heads#L65

https://salsa.debian.org/ruby-team/redmine/-/blob/debian/latest/debian/
control?ref_type=heads#L81


Stop installing links for jquery.min.js and jquery_ujs.js in debian/
redmine.install:

https://salsa.debian.org/ruby-team/redmine/-/blob/debian/latest/debian/
redmine.links?ref_type=heads#L8

https://salsa.debian.org/ruby-team/redmine/-/blob/debian/latest/debian/
redmine.links?ref_type=heads#L10

-- 
Soren Stoutner
soren at debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <http://alioth-lists.debian.net/pipermail/pkg-ruby-extras-maintainers/attachments/20251023/27df21da/attachment.sig>


More information about the Pkg-ruby-extras-maintainers mailing list