Defect #36287

rake redmine:plugins:assets fails

Added by Mizuki ISHIKAWA 6 months ago. Updated 6 months ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:Go MAEDA% Done:

0%

Category:Plugin API
Target version:-
Resolution:Fixed Affected version:

Description

 $ rake redmine:plugins:assets 
rake aborted!
NoMethodError: undefined method `mirror_assets' for Redmine::Plugin:Class
/var/lib/redmine/lib/tasks/redmine.rake:153:in `block (3 levels) in <top (required)>'
/usr/local/bundle/gems/rake-13.0.6/exe/rake:27:in `<top (required)>'
Tasks: TOP => redmine:plugins:assets
(See full trace by running task with --trace)

This also affects the redmine:plugins task (rake redmine:plugins).
This is probably related to #32938.

fix-36287.patch Magnifier (1.88 KB) Mizuki ISHIKAWA, 2021-12-07 02:25


Related issues

Related to Redmine - Feature #32938: Rails 6: Zeitwerk support Closed

Associated revisions

Revision 21300
Added by Go MAEDA 6 months ago

Fix redmine:plugins:assets rake task fails (#36287, #32938).

Patch by Mizuki ISHIKAWA.

History

#1 Updated by Mizuki ISHIKAWA 6 months ago

The patch is attached.
I don't understand the need to mirror_assets for plugins specified by name, but I've changed it to work with the same specs as before.

#2 Updated by Go MAEDA 6 months ago

#3 Updated by Go MAEDA 6 months ago

  • Status changed from New to Confirmed

#4 Updated by Go MAEDA 6 months ago

  • Status changed from Confirmed to Closed
  • Assignee set to Go MAEDA
  • Resolution set to Fixed

Committed the fix as a part of #32938. Thank you.

Also available in: Atom PDF