Project

General

Profile

Actions

Feature #30462

open

Update Developer Guide for Redmine 4

Added by Syntactic Vexation almost 6 years ago. Updated almost 6 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Documentation
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:

Description

The current Developer Guide references using the alias_method_chain pattern to wrap an existing method. This no longer works with Redmine 4 as Rails 5 doesn't support it (Refer to #30209). This is breaking a number of plugins including mine.

Can the Developer Guide be updated as to what the recommended approach is and examples for wrapping an existing method in Redmine 4?

Actions #1

Updated by Bernhard Rohloff almost 6 years ago

Yep, I also think this should be fixed.
In the meantime you can look at my pull request for Redmine 4.0 compatibility of the plantUML plugin. After all, the fix for the deprecated alias_method_chain wasn't a big deal.
https://github.com/dkd/plantuml/pull/26/commits/ea5a38d7a3160ab8caaa2810c359cca458f09b43

Actions

Also available in: Atom PDF