Closed haraldkl closed 5 years ago
@haraldkl, thanks for help. Here is a complex patch for support Redmine 4.0.x: 7c10197c761ac722baf85c902eafa2379126893b. Moreover, now available branch 4.0.x
. Please, switch to it if you use Redmine 4.0.0.
Great! Thanks a lot!
After updating the system, the plugin stopped to work due to changes in Ruby and Rails. In Rails 5 parameters need to be filtered. I now simply allow all, though that is likely not the best thing to do? But it works for me. And the other problem is that alias_method_chain is not supported anymore by recent Ruby versions. I replaced these now with alias_method, though a more appropriate approach may be to make use of the module prepend facility.
I have no idea, whether these changes are advisable, but I got the plugin running in Redmine 4.0 with this.