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

Redmine 2.3.3 needs to bundle with specific version of haml (not the latest) #62

Open
mbdevpl opened this issue Oct 21, 2013 · 3 comments

Comments

@mbdevpl
Copy link

mbdevpl commented Oct 21, 2013

@fk0 thank you very much for your comment in #12 !

In my environment, namely:

Redmine version                2.3.3.stable
Ruby version                   2.0.0-p247 (2013-06-27) [x86_64-linux]
Rails version                  3.2.13
Environment                    production

The latest haml causes the following errors in ekanban:

  • 404 on Kanban States
Started GET "/kanban_states/setup" for x.x.x.x at 2013-10-22 00:59:16 +0200
Processing by KanbanStatesController#setup as HTML
  Current user: ___ (id=_)
Missing template, responding with 404
  Rendered common/error.html.erb within layouts/base (0.4ms)
Completed 404 Not Found in 37ms (Views: 26.9ms | ActiveRecord: 0.6ms)
  • 404 on project settings (in all of the projects)
Started GET "/projects/phinite/settings" for x.x.x.x at 2013-10-22 00:44:27 +0200
Processing by ProjectsController#settings as HTML
  Parameters: {"id"=>"phinite"}
  Current user: ___ (id=_)
  Rendered projects/_form.html.erb (18.8ms)
  Rendered projects/_edit.html.erb (22.3ms)
  Rendered projects/settings/_modules.html.erb (3.9ms)
  Rendered projects/settings/_members.html.erb (17.9ms)
  Rendered projects/settings/_versions.html.erb (4.2ms)
  Rendered projects/settings/_repositories.html.erb (4.6ms)
  Rendered plugins/ekanban/app/views/common/_tabs.html.erb (62.9ms)
  Rendered projects/settings.html.erb within layouts/base (64.4ms)
Missing template, responding with 404
  Rendered common/error.html.erb within layouts/base (0.2ms)
Completed 404 Not Found in 105ms (Views: 15.4ms | ActiveRecord: 2.5ms)

After changing to the earlier version of haml, the problem was resolved. I write here just for the benefit of others.

I would like to request the addition of this discovery in the documentation, cos in some cases (I'm not sure in what exactly) you should add:

gem "haml", "3.1.8"

to your Gemfile instead of the typical:

gem "haml"

, before running bundle install.

And in case you already have this problem, just use the solution provided by @fk0 in comment to issue #12 .

@samchen2009
Copy link
Owner

My haml is 4.0.3, it works with redmine 2.3.0, but I didn't get a chance to try 2.3.3.

@mbdevpl
Copy link
Author

mbdevpl commented Oct 22, 2013

I'm puzzled... I was under the impression that the latest version of haml messed something up, but it seems that the matter is not so trivial. You may close the issue if you wish to do so, I just wanted to leave a note about my findings in case someone runs into the same problem.

Currently I'm not debugging/testing this - ekanban works now in my env. All of the features I've tested so far work, and overall it is pretty cool :)

@fk0
Copy link

fk0 commented Oct 23, 2013

The Redmine I'm using is version 2.3.3 so I think it's worth testing exactly these both versions together.

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