Project

General

Profile

Actions

Defect #1079

closed

could not support redmine 2.0.3

Added by Steven Wong over 12 years ago. Updated over 12 years ago.

Status:
終了(Closed)
Priority:
急いで(Urgent)
Target version:
Start date:
07/09/2012
Due date:
% Done:

100%

Estimated time:

Description

I installed in redmine 2.0.3 and restart the server.

when I login, the error occured: Please check it, thanks

ActionController::RoutingError (No route matches {:controller=>"info"}):
  lib/redmine/menu_manager.rb:150:in `render_single_menu_node'
  lib/redmine/menu_manager.rb:102:in `render_menu_node'
  lib/redmine/menu_manager.rb:91:in `render_menu'
  lib/redmine/menu_manager.rb:168:in `menu_items_for'
  lib/redmine/menu_manager.rb:165:in `each'
  lib/redmine/menu_manager.rb:165:in `menu_items_for'
  lib/redmine/menu_manager.rb:90:in `render_menu'
  app/views/layouts/base.html.erb:31:in `_app_views_layouts_base_html_erb___7378
05957_54492528'
Actions #1

Updated by wei li over 12 years ago

please add a file router.rb in folder /redmine_information/config. The content is follow:
RedmineApp::Application.routes.draw do
match '/info/:action', :to=>"info'
end

And there is another error when click configration in redmine. you should change files /redmine_information/app/views/settings/_info_settings.html.erb like follow:
the 7 line :
"InfoCategory.label" should be change to "InfoCategory.caption"

All will become normal.

Actions #2

Updated by Steven Wong over 12 years ago

Thanks, wei li
I tried the modification and the plugin could be used now.

Actions #3

Updated by Mitsuyoshi Yoshida over 12 years ago

  • Status changed from 新規(New) to 担当(Assigned)
  • Priority changed from 通常(Normal) to 急いで(Urgent)
  • Target version set to 1.0.1

Thanks, wei li and Steven Wong.
I will release bug fix version of these error, in reference to your comment.

Actions #4

Updated by Steven Wong over 12 years ago

there's still something wrong with localization, I tested it and found some translation has missed.
please check it when you fix the issues. Thanks.

Actions #5

Updated by Mitsuyoshi Yoshida over 12 years ago

  • Status changed from 担当(Assigned) to 終了(Closed)
  • % Done changed from 0 to 100

Changing from "InfoCategory.label" to "InfoCategory.caption" is not enough.
Correctly, follow :

8c8
<   <%= InfoCategory.label(catsym) %>
---
>   <%=l InfoCategory.caption(catsym) %>

I will release 1.0.1 soon, including this.

Actions

Also available in: Atom PDF