Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compatibility with Redmine 2.6.x #5

Open
shamasis opened this issue Dec 6, 2014 · 4 comments
Open

Compatibility with Redmine 2.6.x #5

shamasis opened this issue Dec 6, 2014 · 4 comments

Comments

@shamasis
Copy link

shamasis commented Dec 6, 2014

Hello,

This is a very handy plugin to have. Saves a lot of pain. Heartfelt thanks to you.

I was checking compatibility with 2.6.x and found that the configuration page /settings/plugin/redmine_custom_css is throwing a 404 error.

Any way you can make this plugin 2.6.x compatible soon? I was thinking of featuring your plugin in a book. :-)

@martin-denizet
Copy link
Owner

Hi Shamasis,

I was not aware of the 2.6.x compatibility problem. I'll try to check that tomorrow.
Thanks for notifying me! 😄

Cheers,

@hexblot
Copy link

hexblot commented Jan 20, 2015

Had the same problem, it was easy to fix though (not even worth posting a patch file):

  • in the root folder, edit init.rb
    -- remove the 'redmine_custom_css/' from the require, so that it reads
    require_dependency 'hooks'

In the lib folder, move the file hooks.rb from inside the directory lib/redmine_custom_css to to lib/hooks.rb

Restart your instance and problem solved :) Don't know why this happens, but it fixed it for me. Same goes for the redmine_custom_js plugin.

@martin-denizet
Copy link
Owner

@hexblot Thanks for the tip! I got a bit swamped at work, I still will try to update my work env to Redmine 2.6.x quickly.
Cheers,

@martin-denizet
Copy link
Owner

I tried with Redmine 2.6.5 on Linux and I didn't get the 404 error in /settings/plugin/redmine_custom_css.
My environment is:

Environment:
Redmine version 2.6.5.stable.14369
Ruby version 1.9.3-p448 (2013-06-27) [i686-linux]
Rails version 3.2.22
Environment production
Database adapter Mysql2
SCM:
Subversion 1.6.17
Git 1.7.10.4
Filesystem
Redmine plugins:
redmine_custom_css 0.1.4

How is/was your environment?

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

No branches or pull requests

3 participants