clueware / redmine_my_roadmaps

Redmine plugin that expose global roadmaps for the user's projects.
39 stars 10 forks source link

Error 'uninitialized constant ActionController::Routing' #29

Open TrumanRu opened 5 years ago

TrumanRu commented 5 years ago

Error on install during 'rake migrate':

An error occurred while loading the routes definition of redmine_my_roadmaps plugin (/opt/redmine/apps/redmine/htdocs/plugins/redmine_my_roadmaps/config/routes.rb): uninitialized constant ActionController::Routing.

Environment:
  Redmine version                3.4.6.stable
  Ruby version                   2.3.7-p456 (2018-03-28) [x86_64-linux]
  Rails version                  4.2.8
  Environment                    production
  Database adapter               Mysql2
SCM:
  Subversion                     1.10.2
  Git                            2.19.1
  Filesystem                     
Redmine plugins:
  a_common_libs                  2.5.0
  custom_menu                    1.8.5
  easy_mindmup                   1.0
  easy_wbs                       1.5
  extra_queries                  2.3.5
  global_roles                   2.2.3
  redmine_attribute_quickies     1.0.2
  redmine_base_deface            0.0.1
  redmine_better_overview        1.0.0
  redmine_checklists             3.1.11
  redmine_default_custom_query   1.3.0
  redmine_edit_custom_fields     0.0.5
  redmine_editor_preview_tab     0.1.5
  redmine_gitlab_hook            0.2.2
  redmine_inline_auto_complete   0.1.0
  redmine_issue_tabs             1.3.1
  redmine_merge_request_links    2.1.1
  redmine_more_code              1.0.0
  redmine_more_context           1.0.0
  redmine_my_page                0.1.13
  redmine_workflow_enhancements  0.5.0
  scrum                          0.18.0
  subtask_columns                0.0.4
  that_email_log                 0.0.1
  unread_issues                  2.2.2
  usability                      2.3.8
  view_customize                 1.2.2
clueware commented 5 years ago

Hello @TrumanRu, I unfortunately couldn't replicate the issue - at least not with the sole my_roadmaps plugin installed.

Here's my test process, feel free to tell me if my use case is not the right one:

The info panel for my test container:

Environment:
  Redmine version                3.4.6.stable
  Ruby version                   2.4.5-p335 (2018-10-18) [x86_64-linux]
  Rails version                  4.2.8
  Environment                    production
  Database adapter               Mysql2
SCM:
  Subversion                     1.9.5
  Mercurial                      4.0
  Bazaar                         2.8.0
  Git                            2.11.0
  Filesystem                     
Redmine plugins:
  redmine_my_roadmaps            0.2.1_redmine3.0

I've noticed that I forgot to update the version in the Redmine_3.4 branch, thus the misleading 3.0 in its release. I've just fixed this, it does not change the plugin behavior though.