pinzolo / redmine_persist_wfmt

redmine_persist_wfmt is a plugin for Redmine that persists wiki format.
MIT License
29 stars 13 forks source link

Internal Server Error with redmine_emojibutton plugin #18

Open kimuraos opened 4 years ago

kimuraos commented 4 years ago

I posted following issue to redmine_emojibutton plugin, but I'm not sure which is wrong. https://github.com/paginagmbh/redmine_emojibutton/issues/23

tofi86 commented 4 years ago

Hi, I'm the maintainer of the redmine_emojibutton plugin.

I'm afraid my Rails skills are too bad to know what the issue is here when both plugins are installed.

@pinzolo any chance you can help solve this issue? Thanks!

pinzolo commented 4 years ago

Hi, @kimuraos @tofi86

I confirmed paginagmbh/redmine_emojibutton: Adds emoji capabilities to Redmine. I guess that problem is in https://github.com/paginagmbh/redmine_emojibutton/blob/master/lib/emojibutton_helper_patch.rb#L28-L29.

This code uses alias_method instead of alias_method_chain, but prepend should be used in over Rails5. The commits below may be helpful. Remove alias_method_chain · pinzolo/redmine_persist_wfmt@d8f9607

I'll try it if I have time. Thanks!