Project

General

Profile

Actions

Defect #44397

closed

Failed to register quote_reply_controller

Added by Soren Stoutner 23 days ago. Updated 21 days ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Resolution:
Cant reproduce
Affected version:

Description

My name is Soren Stoutner. I am the maintainer of the Debian Redmine package.

https://tracker.debian.org/pkg/redmine

I have recently prepared the 6.1.3 package, but in testing I receive the following error in the browser's developer console:

Failed to register controller: quote-reply (controllers/quote_reply_controller) TypeError: Failed to resolve module specifier "@rails/request.js". Relative references must start with either "/", "./", or "../".
stimulus-loading-25917588.js:26

This error appears to be triggered by this import line in quote_reply_controller, but it is unclear to me why the system cannot resolve @rails:

https://github.com/redmine/redmine/blob/master/app/javascript/controllers/quote_reply_controller.js

This possibly could be a bug relating to the packaging instead of the upstream code. If it is a packaging bug, can you point me in the right direction?

Actions #1

Updated by Go MAEDA 22 days ago

  • Category deleted (Issues workflow)
  • Resolution set to Cant reproduce

I could not reproduce this issue on my local Redmine installation.

The @rails/request.js pin is provided by the requestjs-rails gem, so this might be an issue with the Debian ruby-requestjs-rails package. Checking whether the installed ruby-requestjs-rails package includes config/importmap.rb and app/assets/javascripts/requestjs.js might help you find the cause.

Actions #2

Updated by Soren Stoutner 21 days ago

Thanks for pointing me in the right direction. This was indeed caused by a problem in the Debian ruby-requestjs-rails package. It is now fixed.

Actions #3

Updated by Go MAEDA 21 days ago

  • Status changed from New to Closed

Thank you for your feedback. I am closing this issue.

Actions

Also available in: Atom PDF