dro123 / redmine_meeting_room_calendar

Qburst's meeting room plugin for redmine
Other
28 stars 20 forks source link

Does this support redmine version 4.0.1-1 #50

Open ram3772340 opened 5 years ago

ram3772340 commented 5 years ago

Getting a below error when running rake in the remine version 4.0+.

image

Any thoughts?

dro123 commented 5 years ago

Probably the same solution as this one: https://github.com/ruby-grape/grape/issues/1666#issuecomment-318083431

aceccarelli commented 4 years ago

Hi! For me this solution didn't work After update file init.rb in line 34 I did get a below error If you can help me, I will be very grateful, as it is a plugin that I use a lot and is locking up to migrate to version 4.1

Thnaks!

redmine@Redmine:/var/www/redmine-4.1.0/plugins/redmine_meeting_room_calendar$ bundle exec rake redmine:plugins:migrate RAILS_ENV=production
(in /var/www/redmine-4.1.0)
rake aborted!
NoMethodError: undefined method `to_prepare' for ActionDispatch::Callbacks:Class
Did you mean?  to_param
/var/www/redmine-4.1.0/plugins/redmine_meeting_room_calendar/init.rb:34:in `'
/var/www/redmine-4.1.0/lib/redmine/plugin.rb:181:in `block in load'
/var/www/redmine-4.1.0/lib/redmine/plugin.rb:172:in `each'
/var/www/redmine-4.1.0/lib/redmine/plugin.rb:172:in `load'
/var/www/redmine-4.1.0/config/initializers/30-redmine.rb:20:in `'
/var/www/redmine-4.1.0/config/environment.rb:16:in `'
/home/redmine/.rvm/gems/ruby-2.6.3/bin/ruby_executable_hooks:24:in `eval'
/home/redmine/.rvm/gems/ruby-2.6.3/bin/ruby_executable_hooks:24:in `
' Tasks: TOP => redmine:plugins:migrate => environment (See full trace by running task with --trace)
VVD commented 4 years ago

@dro123, can you, please, update this plugin to support Redmine 4.x (4.0, 4.1, future 4.2)?

dro123 commented 4 years ago

I merged this: https://github.com/dro123/redmine_meeting_room_calendar/pull/51 Try if it helps. I don't have the development environment anymore to test this since I'm currently not using redmine anywhere.