berti92 / mega_calendar

Plugin for redmine: Brings a better calendar and more opportunities to display issues and holidays
http://www.devbert.de/index.php/en/project/megacalendar/
MIT License
70 stars 51 forks source link

Rails 5.2 not supported #88

Closed fredczj closed 5 years ago

fredczj commented 5 years ago

Using a fresh installation of Redmine, supported by Rails 5.2, the plugin doesn't work at all. There are function definition doesn't exist in Rails 5.2.

I find this plugin great and it would be very helpful for my company.

berti92 commented 5 years ago

Could you try the rails_4_and_5 branch ?

fredczj commented 5 years ago

I have no more runtime errors. But there is still a missing page (The requested URL /holidays/new was not found on this server.).

berti92 commented 5 years ago

Alrighty thank you for your feedback I'll have a look at it tomorrow.

fredczj commented 5 years ago

I think it is a problem with the path build. I just observed that my URL moved from http://mysite.com/redmine to http://mysite.com/holidays/new
missing redmine in between.

If it can help...

berti92 commented 5 years ago

Hey @fredczj, sorry for my late response.

Could you please set in the plugin setting the value /redmine/ within the field sub path and try again? https://github.com/berti92/mega_calendar/wiki/Sub-Path

Best regards Berti

fredczj commented 5 years ago

Sorry for mine, now :) It works great, it solves the problem. I could have observed this by myself... Sorry for the inconvenience. I will play with it now. Thanks,