Open albenik85 opened 2 years ago
Yeah, same problem here
Ok managed to fix. Trivial.
Just do this in the init.rb
(aside from removing the deep clone reference you already did:
at the top (before anything else:
# remove this line with require
require 'redmine_recurring_tasks'
# and replace with those two
require 'redmine'
require_relative 'lib/redmine_recurring_tasks'
at the end of init.rb (after all)
require File.dirname(__FILE__) + '/lib/redmine_recurring_tasks'
migrate and ready to go
Great, I can confirm that your solution is working. Thanks a lot!
@albenik85 it's working and loads the plugin but dispatching is still broken as deep clone fails. I will fix this today and submit the fix here.
Ok, no additional code changes needed. After you apply the code I placed above, the only remaining thing is to reset the copied associations:
Just use the reset and save. Then all should work as expected.
Looks like that works but im now missing the top menu bar option "recurring tasks" that would take you to a list of current recurring tasks, is that missing for you guys as well?
Hello
I've followed these information and looks ok also Thanks
To complete
before_filter has been deprecated in Rails 5.0 and removed in 5.1. Then should be replaced by before_action in ./app/controllers/recurring_tasks_controller.rb and repl
Hi all,
I just updated my redmine installation to version 5.0.2 and it seems like this plugin is not compatible with it. I changed the version of deep_clonable to 3.2.0 as the used reference was not compatible with rails 6.1.6. Bundle install was succesfull but during db migration I received "LoadError: cannot load such file -- redmine_recurring_tasks"
Was anybody able to use this plugin with 5.0.x already?