Feature #30462

Update Developer Guide for Redmine 4

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

Status:NewStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Documentation
Target version:-
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?

History

#1 Updated by Bernhard Rohloff almost 4 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

Also available in: Atom PDF