Skip to content
This repository has been archived by the owner on Dec 21, 2021. It is now read-only.

Plugin not working with Redmine 4.0.4.stable #5

Open
jurijstoks opened this issue Nov 12, 2019 · 1 comment
Open

Plugin not working with Redmine 4.0.4.stable #5

jurijstoks opened this issue Nov 12, 2019 · 1 comment

Comments

@jurijstoks
Copy link

Plugin not working with Redmine version 4.0.4., is it possible to fix it?
Error related to 'alias_method_chain'......

@mpauz
Copy link

mpauz commented Mar 6, 2020

/plugins/redmine_email_inline_images/lib/redmine_email_inline_images/mail_handler_patch.rb "Line 7"

module RedmineEmailInlineImages
  module MailHandlerPatch
    def self.included(base) # :nodoc:
      base.send(:include, InstanceMethods)
      
      base.class_eval do
  -      #alias_method_chain :plain_text_body, :email_inline_images
  +      alias_method :plain_text_body_without_email_inline_images, :plain_text_body
  +      alias_method :plain_text_body, :plain_text_body_with_email_inline_images
      end
    end

Looks like all working :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants