Redmine plugin for pasting cropped image from clipboard as an attachment.
264
stars
118
forks
source link
NoMethodError: undefined method `alias_method_chain' for Issue (call 'Issue.connection' to establish a connection):Class #82
Open
captnjosh opened 5 years ago
NoMethodError: undefined method'
C:/Bitnami/redmine-4.0.0-0/apps/redmine/htdocs/vendor/bundle/ruby/2.3.0/gems/railties-5.2.2/lib/rails/initializable.rb:32:in
alias_method_chain' for Issue (call 'Issue.connection' to establish a connection):Class C:/Bitnami/redmine-4.0.0-0/apps/redmine/htdocs/vendor/bundle/ruby/2.3.0/gems/activerecord-5.2.2/lib/active_record/dynamic_matchers.rb:22:in
method_missing' C:/Bitnami/redmine-4.0.0-0/apps/redmine/htdocs/plugins/clipboard_image_paste/lib/clipboard_image_paste/attachment_patch.rb:25:inblock in included' C:/Bitnami/redmine-4.0.0-0/apps/redmine/htdocs/plugins/clipboard_image_paste/lib/clipboard_image_paste/attachment_patch.rb:20:in
class_eval' C:/Bitnami/redmine-4.0.0-0/apps/redmine/htdocs/plugins/clipboard_image_paste/lib/clipboard_image_paste/attachment_patch.rb:20:inincluded' C:/Bitnami/redmine-4.0.0-0/apps/redmine/htdocs/plugins/clipboard_image_paste/lib/clipboard_image_paste/attachment_patch.rb:105:in
include' C:/Bitnami/redmine-4.0.0-0/apps/redmine/htdocs/plugins/clipboard_image_paste/lib/clipboard_image_paste/attachment_patch.rb:105:in<top (required)>' C:/Bitnami/redmine-4.0.0-0/apps/redmine/htdocs/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:291:in
require' C:/Bitnami/redmine-4.0.0-0/apps/redmine/htdocs/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:291:inblock in require' C:/Bitnami/redmine-4.0.0-0/apps/redmine/htdocs/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:257:in
load_dependency' C:/Bitnami/redmine-4.0.0-0/apps/redmine/htdocs/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:291:inrequire' C:/Bitnami/redmine-4.0.0-0/apps/redmine/htdocs/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:378:in
block in require_or_load' C:/Bitnami/redmine-4.0.0-0/apps/redmine/htdocs/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:37:inblock in load_interlock' C:/Bitnami/redmine-4.0.0-0/apps/redmine/htdocs/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.2/lib/active_support/dependencies/interlock.rb:14:in
block in loading' C:/Bitnami/redmine-4.0.0-0/apps/redmine/htdocs/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.2/lib/active_support/concurrency/share_lock.rb:151:inexclusive' C:/Bitnami/redmine-4.0.0-0/apps/redmine/htdocs/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.2/lib/active_support/dependencies/interlock.rb:13:in
loading' C:/Bitnami/redmine-4.0.0-0/apps/redmine/htdocs/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:37:inload_interlock' C:/Bitnami/redmine-4.0.0-0/apps/redmine/htdocs/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:356:in
require_or_load' C:/Bitnami/redmine-4.0.0-0/apps/redmine/htdocs/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:334:independ_on' C:/Bitnami/redmine-4.0.0-0/apps/redmine/htdocs/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:246:in
require_dependency' C:/Bitnami/redmine-4.0.0-0/apps/redmine/htdocs/plugins/clipboard_image_paste/init.rb:35:inblock in <top (required)>' C:/Bitnami/redmine-4.0.0-0/apps/redmine/htdocs/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.2/lib/active_support/callbacks.rb:426:in
instance_exec' C:/Bitnami/redmine-4.0.0-0/apps/redmine/htdocs/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.2/lib/active_support/callbacks.rb:426:inblock in make_lambda' C:/Bitnami/redmine-4.0.0-0/apps/redmine/htdocs/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.2/lib/active_support/callbacks.rb:198:in
block (2 levels) in halting' C:/Bitnami/redmine-4.0.0-0/apps/redmine/htdocs/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.2/lib/active_support/callbacks.rb:606:inblock (2 levels) in default_terminator' C:/Bitnami/redmine-4.0.0-0/apps/redmine/htdocs/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.2/lib/active_support/callbacks.rb:605:in
catch' C:/Bitnami/redmine-4.0.0-0/apps/redmine/htdocs/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.2/lib/active_support/callbacks.rb:605:inblock in default_terminator' C:/Bitnami/redmine-4.0.0-0/apps/redmine/htdocs/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.2/lib/active_support/callbacks.rb:199:in
block in halting' C:/Bitnami/redmine-4.0.0-0/apps/redmine/htdocs/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.2/lib/active_support/callbacks.rb:513:inblock in invoke_before' C:/Bitnami/redmine-4.0.0-0/apps/redmine/htdocs/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.2/lib/active_support/callbacks.rb:513:in
each' C:/Bitnami/redmine-4.0.0-0/apps/redmine/htdocs/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.2/lib/active_support/callbacks.rb:513:ininvoke_before' C:/Bitnami/redmine-4.0.0-0/apps/redmine/htdocs/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.2/lib/active_support/callbacks.rb:131:in
run_callbacks' C:/Bitnami/redmine-4.0.0-0/apps/redmine/htdocs/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.2/lib/active_support/reloader.rb:89:inprepare!' C:/Bitnami/redmine-4.0.0-0/apps/redmine/htdocs/vendor/bundle/ruby/2.3.0/gems/railties-5.2.2/lib/rails/application/finisher.rb:63:in
block ininstance_exec' C:/Bitnami/redmine-4.0.0-0/apps/redmine/htdocs/vendor/bundle/ruby/2.3.0/gems/railties-5.2.2/lib/rails/initializable.rb:32:in
run' C:/Bitnami/redmine-4.0.0-0/apps/redmine/htdocs/vendor/bundle/ruby/2.3.0/gems/railties-5.2.2/lib/rails/initializable.rb:61:inblock in run_initializers' C:/Bitnami/redmine-4.0.0-0/apps/redmine/htdocs/vendor/bundle/ruby/2.3.0/gems/railties-5.2.2/lib/rails/initializable.rb:60:in
run_initializers' C:/Bitnami/redmine-4.0.0-0/apps/redmine/htdocs/vendor/bundle/ruby/2.3.0/gems/railties-5.2.2/lib/rails/application.rb:361:ininitialize!' C:/Bitnami/redmine-4.0.0-0/apps/redmine/htdocs/config/environment.rb:14:in
<top (required)>' C:/Bitnami/redmine-4.0.0-0/apps/redmine/htdocs/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:291:inrequire' C:/Bitnami/redmine-4.0.0-0/apps/redmine/htdocs/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:291:in
block in require' C:/Bitnami/redmine-4.0.0-0/apps/redmine/htdocs/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:257:inload_dependency' C:/Bitnami/redmine-4.0.0-0/apps/redmine/htdocs/vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:291:in
require' C:/Bitnami/redmine-4.0.0-0/apps/redmine/htdocs/vendor/bundle/ruby/2.3.0/gems/railties-5.2.2/lib/rails/application.rb:337:inrequire_environment!' C:/Bitnami/redmine-4.0.0-0/apps/redmine/htdocs/vendor/bundle/ruby/2.3.0/gems/railties-5.2.2/lib/rails/application.rb:520:in
block in run_tasks_blocks' C:/Bitnami/redmine-4.0.0-0/apps/redmine/htdocs/vendor/bundle/ruby/2.3.0/gems/rake-12.3.2/exe/rake:27:in `<top (required)>' Tasks: TOP => redmine:plugins:migrate => environment (See full trace by running task with --trace)