Project

General

Profile

Actions

Defect #36287

closed

rake redmine:plugins:assets fails

Added by Mizuki ISHIKAWA almost 3 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Plugin API
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
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.


Files

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

Related issues

Related to Redmine - Feature #32938: Rails 6: Zeitwerk supportClosedMarius BÄ‚LTEANU

Actions
Actions #1

Updated by Mizuki ISHIKAWA almost 3 years 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.

Actions #2

Updated by Go MAEDA almost 3 years ago

Actions #3

Updated by Go MAEDA almost 3 years ago

  • Status changed from New to Confirmed
Actions #4

Updated by Go MAEDA almost 3 years 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.

Actions

Also available in: Atom PDF