Giter Site home page Giter Site logo

redmine_advanced_roadmap_v2's Introduction

Redmine Plugin: Advanced Roadmap v2

This plugin was a fork of Redmine Plugin: advanced roadmap, when it was not developed.

Since original plugin is back on rails, this plugin won't be maintained anymore.

ScreenShot

ScreenShot

Features

The Advanced Roadmap v2 plugin for Redmine is a plugin that allows to:

  1. Show more information into the Roadmap view:
  • A total for the roadmap is displayed, so you can easily check the whole project status.
  • Each version has more info about the completion and due times, being these pourcentage values calculated not with the default count of issues, but with the issues duration and completion pourcentages.
  • The issues of the versions are shown as a table instead as a list, with more information about the time (completed and due) with real status calculated based on the duration, the current completion pourcentage and the consequent estimation of the due time. These issues are printed with color (red: the task is over due, orange: over due but not so bad as red, black: normal, green: the issue is been solved faster than the estimation).
  1. You can define milestones for a project, and attach versions to the milestones (from this or other projects):
  • Milestones are edited on the project Settings tab (create, edit (associate versions to them) and delete).
  • Milestone information is shown into the Roadmap view, above the Version list, into a Milestone list. When a milestone view is clicked a view similar to Roadmap is shown, but instead of showing the project versions list, a list of the milestone versions list is shown.

Installation

Steps:

  1. Download last version and cd to Redmine root folder
  2. Create destination directory mkdir plugins/advanced_roadmap_v2
  3. Uncompress in this folder tar xvzf /path/to/advanced_roadmap_vx.y.z.tar.gz -C plugins/advanced_roadmap_v2
  4. Into the Redmine root folder migrate plugins: RAILS_ENV=production bundle exec rake redmine:plugins:migrate
  5. Option: Install dependency required for pretty graph: apt-get install ruby-rmagick
  6. Restart your Redmine.

Uninstall

Steps:

  1. Into the Redmine root folder migrate plugins: RAILS_ENV=production bundle exec rake redmine:plugins:migrate NAME=advanced_roadmap_v2 VERSION=0
  2. Delete plugin directory: rm -rf plugins/advanced_roadmap_v2

redmine_advanced_roadmap_v2's People

Contributors

a-lunev avatar archonwang avatar atopcu avatar cccgijyutsugit avatar coren avatar garam-park avatar johnbat26 avatar pedromoritz avatar sealemar avatar yourlin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

redmine_advanced_roadmap_v2's Issues

The error comes when I install a plugin.

Hello,
The error comes when I install a plugin. I do not know how to solve.

Redmine : v3.0.0

rake redmine:plugins:migrate RAILS_ENV=production --trace
** Invoke redmine:plugins:migrate (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute redmine:plugins:migrate
Migrating advanced_roadmap_v2 (Advanced roadmap & milestones plugin)...
== 1 CreateMilestones: migrating ==============================================
-- create_table(:milestones, {:force=>true})
-> 0.0414s
-- add_index(:milestones, [:user_id], {:name=>"fk_milestones_user"})
-> 0.0183s
-- add_index(:milestones, [:project_id], {:name=>"fk_milestones_project"})
-> 0.0467s
== 1 CreateMilestones: migrated (0.1069s) =====================================

== 2 CreateMilestoneVersions: migrating =======================================
-- create_table(:milestone_versions, {:force=>true})
-> 0.0161s
-- add_index(:milestone_versions, [:milestone_id], {:name=>"fk_milestone_versions_milestone"})
-> 0.0197s
-- add_index(:milestone_versions, [:version_id], {:name=>"fk_milestone_versions_version"})
-> 0.0220s
== 2 CreateMilestoneVersions: migrated (0.0582s) ==============================

== 3 PresetPermissions: migrating =============================================
rake aborted!
StandardError: An error has occurred, all later migrations canceled:

Couldn't find all Roles with 'id': (first, {:conditions=>"name='Manager'"}) (found 0 results, but was looking for 2)/usr/local/rvm/gems/ruby-2.0.0-p451/gems/activerecord-4.2.0/lib/active_record/relation/finder_methods.rb:336:in `raise_record_not_found_exception!

/usr/local/rvm/gems/ruby-2.0.0-p451/gems/activerecord-4.2.0/lib/active_record/relation/finder_methods.rb:479:in find_some' /usr/local/rvm/gems/ruby-2.0.0-p451/gems/activerecord-4.2.0/lib/active_record/relation/finder_methods.rb:438:infind_with_ids'
/usr/local/rvm/gems/ruby-2.0.0-p451/gems/activerecord-4.2.0/lib/active_record/relation/finder_methods.rb:71:in find' /usr/local/rvm/gems/ruby-2.0.0-p451/gems/activerecord-4.2.0/lib/active_record/querying.rb:3:infind'
/usr/local/rvm/gems/ruby-2.0.0-p451/gems/activerecord-4.2.0/lib/active_record/core.rb:128:in find' /var/www/redmine/plugins/advanced_roadmap_v2/db/migrate/003_preset_permissions.rb:3:inup'
/usr/local/rvm/gems/ruby-2.0.0-p451/gems/activerecord-4.2.0/lib/active_record/migration.rb:569:in up' /usr/local/rvm/gems/ruby-2.0.0-p451/gems/activerecord-4.2.0/lib/active_record/migration.rb:609:inexec_migration'
/usr/local/rvm/gems/ruby-2.0.0-p451/gems/activerecord-4.2.0/lib/active_record/migration.rb:590:in block (2 levels) in migrate' /usr/local/lib/ruby/2.0.0/benchmark.rb:281:inmeasure'
/usr/local/rvm/gems/ruby-2.0.0-p451/gems/activerecord-4.2.0/lib/active_record/migration.rb:589:in block in migrate' /usr/local/rvm/gems/ruby-2.0.0-p451/gems/activerecord-4.2.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:292:inwith_connection'
/usr/local/rvm/gems/ruby-2.0.0-p451/gems/activerecord-4.2.0/lib/active_record/migration.rb:588:in migrate' /usr/local/rvm/gems/ruby-2.0.0-p451/gems/activerecord-4.2.0/lib/active_record/migration.rb:765:inmigrate'
/usr/local/rvm/gems/ruby-2.0.0-p451/gems/activerecord-4.2.0/lib/active_record/migration.rb:995:in block in execute_migration_in_transaction' /usr/local/rvm/gems/ruby-2.0.0-p451/gems/activerecord-4.2.0/lib/active_record/migration.rb:1043:inddl_transaction'
/usr/local/rvm/gems/ruby-2.0.0-p451/gems/activerecord-4.2.0/lib/active_record/migration.rb:994:in execute_migration_in_transaction' /usr/local/rvm/gems/ruby-2.0.0-p451/gems/activerecord-4.2.0/lib/active_record/migration.rb:956:inblock in migrate'
/usr/local/rvm/gems/ruby-2.0.0-p451/gems/activerecord-4.2.0/lib/active_record/migration.rb:952:in each' /usr/local/rvm/gems/ruby-2.0.0-p451/gems/activerecord-4.2.0/lib/active_record/migration.rb:952:inmigrate'
/usr/local/rvm/gems/ruby-2.0.0-p451/gems/activerecord-4.2.0/lib/active_record/migration.rb:820:in up' /usr/local/rvm/gems/ruby-2.0.0-p451/gems/activerecord-4.2.0/lib/active_record/migration.rb:798:inmigrate'
/var/www/redmine/lib/redmine/plugin.rb:474:in migrate_plugin' /var/www/redmine/lib/redmine/plugin.rb:446:inmigrate'
/var/www/redmine/lib/redmine/plugin.rb:460:in block in migrate' /var/www/redmine/lib/redmine/plugin.rb:459:ineach'
/var/www/redmine/lib/redmine/plugin.rb:459:in migrate' /var/www/redmine/lib/tasks/redmine.rake:127:inblock (3 levels) in <top (required)>'
/usr/local/rvm/gems/ruby-2.0.0-p451/gems/rake-10.4.2/lib/rake/task.rb:240:in call' /usr/local/rvm/gems/ruby-2.0.0-p451/gems/rake-10.4.2/lib/rake/task.rb:240:inblock in execute'
/usr/local/rvm/gems/ruby-2.0.0-p451/gems/rake-10.4.2/lib/rake/task.rb:235:in each' /usr/local/rvm/gems/ruby-2.0.0-p451/gems/rake-10.4.2/lib/rake/task.rb:235:inexecute'
/usr/local/rvm/gems/ruby-2.0.0-p451/gems/rake-10.4.2/lib/rake/task.rb:179:in block in invoke_with_call_chain' /usr/local/lib/ruby/2.0.0/monitor.rb:211:inmon_synchronize'
/usr/local/rvm/gems/ruby-2.0.0-p451/gems/rake-10.4.2/lib/rake/task.rb:172:in invoke_with_call_chain' /usr/local/rvm/gems/ruby-2.0.0-p451/gems/rake-10.4.2/lib/rake/task.rb:165:ininvoke'
/usr/local/rvm/gems/ruby-2.0.0-p451/gems/rake-10.4.2/lib/rake/application.rb:150:in invoke_task' /usr/local/rvm/gems/ruby-2.0.0-p451/gems/rake-10.4.2/lib/rake/application.rb:106:inblock (2 levels) in top_level'
/usr/local/rvm/gems/ruby-2.0.0-p451/gems/rake-10.4.2/lib/rake/application.rb:106:in each' /usr/local/rvm/gems/ruby-2.0.0-p451/gems/rake-10.4.2/lib/rake/application.rb:106:inblock in top_level'
/usr/local/rvm/gems/ruby-2.0.0-p451/gems/rake-10.4.2/lib/rake/application.rb:115:in run_with_threads' /usr/local/rvm/gems/ruby-2.0.0-p451/gems/rake-10.4.2/lib/rake/application.rb:100:intop_level'
/usr/local/rvm/gems/ruby-2.0.0-p451/gems/rake-10.4.2/lib/rake/application.rb:78:in block in run' /usr/local/rvm/gems/ruby-2.0.0-p451/gems/rake-10.4.2/lib/rake/application.rb:176:instandard_exception_handling'
/usr/local/rvm/gems/ruby-2.0.0-p451/gems/rake-10.4.2/lib/rake/application.rb:75:in run' /usr/local/rvm/gems/ruby-2.0.0-p451/gems/rake-10.4.2/bin/rake:33:in<top (required)>'
/usr/local/bin/rake:23:in load' /usr/local/bin/rake:23:in

'
Tasks: TOP => redmine:plugins:migrate

Was only install the current redmine, and there is no project.

Thanks.

Inherited versions - links in roadmap

Hello
Links on roadmap are generated for original project ID, and not for subprojects.
When user is assinged only to subproject he can see wrong issue count (count from main project) and links to issues are generated to main project causing 403 errors
To reproduce just create project and subproject in it, set version in project + share it into tree, then go to subproject and click on roadmap. Links are not related to subproject but for main project :(

Gantt view error

Hi, in gantt view there is an error displaying Milestone name on the left column:

gantt_error

Regards

Internal error

Hello, i have an error with the plugin v2.0.2
Redmine 500 error
An error occurred on the page you were trying to access.

On install :
rake redmine:plugins:migrate
rake aborted!
Mysql2::Error: Access denied for user 'root'@'localhost' (using password: NO)

I also tried the following commands:
rake db:migrate RAILS_ENV=production
bundle exec rake redmine:plugins NAME=advanced_roadmap_v2 RAILS_ENV=production

If I go to the plugin configuration screen
Redmine 500 error

After restarting the server, it's the same thing, no roadmap button appears at the project level, and the same 500 error.

Here the server configuration :
Latest Debian 7 x64
Environment:
Redmine version 2.6.0.stable.13767
Ruby version 2.1.3-p242 (2014-09-19) [x86_64-linux]
Rails version 3.2.21
Environment production
Database adapter Mysql2
SCM:
Subversion 1.6.17
Git 1.7.10.4
Redmine plugins:
advanced_roadmap_v2 2.0.2
redmine_agile 1.3.5
redmine_checklists 3.0.2

Please help, this plugin looks really good :)

conflict with didyoumean plugin

hello
When I add redmine_advanced_roadmap_v2 plugin to didyoumean plugin, then I get error (during open any issue):

undefined local variable or method `issues_didyoumean_event_type' for #<#<Class:0x00000001899008>:0x00000001896fb0>
 <%= javascript_tag "observeIssueSubjectField('#{@project.id}', #{@issue.id or '\'\''}, '#{issues_didyoumean_event_type}');" %>

Stack trace:

lib/redmine/hook.rb:111:in `block in render_on'
lib/redmine/hook.rb:61:in `block (2 levels) in call_hook'
lib/redmine/hook.rb:61:in `each'
lib/redmine/hook.rb:61:in `block in call_hook'
lib/redmine/hook.rb:58:in `tap'
lib/redmine/hook.rb:58:in `call_hook'
lib/redmine/hook.rb:158:in `call_hook'
app/helpers/application_helper.rb:1058:in `labelled_fields_for'
app/views/issues/_edit.html.erb:8:in `block in _907a95f2552ee21dd6cab35dd86ba4af'
app/helpers/application_helper.rb:1051:in `labelled_form_for'
app/views/issues/_edit.html.erb:1:in `_907a95f2552ee21dd6cab35dd86ba4af'
app/views/issues/show.html.erb:132:in `_900206a51f0991b9741aa6c7198a8626'
app/controllers/issues_controller.rb:128:in `block (2 levels) in show'
app/controllers/issues_controller.rb:125:in `show'

Can you fix this interaction?

Error 500 when click detail issue

DEPRECATION WARNING: Passing a template handler in the template name is deprecated. You can simply remove the handler name or pass render :handlers => [:erb] instead. (called from block in render_on at /var/www/redmine-2.3/lib/redmine/hook.rb:111)
Rendered plugins/redmine_didyoumean/app/views/issues/_didyoumean_injected.html.erb (1331.6ms)
Rendered issues/_form.html.erb (1474.2ms)
Rendered issues/_edit.html.erb (1486.1ms)
Rendered issues/show.html.erb within layouts/base (1956.4ms)
Completed 500 Internal Server Error in 2133ms

ActionView::Template::Error (undefined local variable or method issues_didyoumean_event_type' for #<#<Class:0x007f4b3d02f690>:0x007f4b3d02dbd8>): 19: }; 20: </script> 21: 22: <%= javascript_tag "observeIssueSubjectField('#{@project.id}', #{@issue.id or '\'\''}, '#{issues_didyoumean_event_type}');" %> lib/redmine/hook.rb:111:inblock in render_on'
lib/redmine/hook.rb:61:in block (2 levels) in call_hook' lib/redmine/hook.rb:61:ineach'
lib/redmine/hook.rb:61:in block in call_hook' lib/redmine/hook.rb:58:intap'
lib/redmine/hook.rb:58:in call_hook' lib/redmine/hook.rb:158:incall_hook'
app/views/issues/_form.html.erb:44:in block in _app_views_issues__form_html_erb___4010127409761566408_69980560480920' app/helpers/application_helper.rb:955:inlabelled_fields_for'
app/views/issues/_form.html.erb:1:in _app_views_issues__form_html_erb___4010127409761566408_69980560480920' app/views/issues/_edit.html.erb:8:inblock in _app_views_issues__edit_html_erb__2388433069155645885_69980560350460'
app/helpers/application_helper.rb:948:in labelled_form_for' app/views/issues/_edit.html.erb:1:in_app_views_issues__edit_html_erb__2388433069155645885_69980560350460'
app/views/issues/show.html.erb:132:in _app_views_issues_show_html_erb___4209799514191703761_69980561649240' app/controllers/issues_controller.rb:119:inblock (2 levels) in show'
app/controllers/issues_controller.rb:116:in `show'

Environment:
Redmine version 2.3.4.stable.13139
Ruby version 2.0.0-p481 (2014-05-08) [x86_64-linux]
Rails version 3.2.13
Environment production
Database adapter Mysql2
Redmine plugins:
contracts 1.2.0
recurring_tasks 1.3.0
redmine_admin_monitor 1.0.0
redmine_ckeditor 1.0.16
redmine_close_button 0.0.8
redmine_contacts 3.4.1
redmine_custom_css 0.1.4
redmine_daily_status 0.0.1
redmine_dashboard 2.2.2
redmine_default_assign 0.4
redmine_didyoumean 1.2.0
redmine_dmsf 1.4.9 stable
redmine_favorite_projects 1.0.1
redmine_graphs 0.1.0
redmine_importer 1.2.2
redmine_issue_checklist 2.0.5
redmine_issue_favicon 0.0.1
redmine_lightbox 0.0.1
redmine_login_audit 0.1.5
redmine_meeting_room_calendar 2.1.3
redmine_monitoring_controlling 0.1.1
redmine_my_roadmaps 0.1.13_redmine2.3
redmine_pipeline_plugin 2.0.0
redmine_questions 0.0.5
redmine_release_notes 1.3.1
redmine_smart_issues_sort 0.3.1
redmine_spent_time 2.6.5
redmine_spent_time_required 0.0.1
redmine_timesheet_plugin 0.7.0
redmine_update_reminder 1.0.1
redmine_wice_grid 0.1.0
redmine_workload 1.0.2
redmine_xls_export 0.2.1.t6
redmine_zenedit 0.0.2
systango_hrm 1.0.1
timelog_timer 2.0.0

Conflict with plugin redmine_multiprojects_issue when click calendar module

here is the url of plugin redmine_multiprojects_issue
https://github.com/nanego/redmine_multiprojects_issue

log:
...
ActiveRecord::StatementInvalid (Mysql2::Error: Unknown column 'issues.id' in 'IN/ALL/ANY subquery': SELECT milestones.* FROM milestones INNER JOIN projects ON projects.id = milestones.project_id WHERE (effective_date BETWEEN '2015-05-31' AND '2015-07-04') AND (((projects.id = 74) OR issues.id IN (SELECT issue_id FROM issues_projects WHERE project_id = 74)))):
plugins/advanced_roadmap_v2/lib/advanced_roadmap/query_patch.rb:12:in rescue in milestones' plugins/advanced_roadmap_v2/lib/advanced_roadmap/query_patch.rb:10:inmilestones'
plugins/advanced_roadmap_v2/lib/advanced_roadmap/calendars_controller_patch.rb:17:in `add_milestones'
...

graph not show with 500 error

The graph on the top page of roadmap doesn't show.

I copy the graph url "https://xxxxx/redmine/milestones/total_graph?percentajes%5B%5D=NaN&size=500x400&versions%5B%5D=v3.00"and open it in the explorer, there is page not found error.

env. is

Environment:
Redmine version 2.3.2.stable
Ruby version 1.9.3-p231 (2012-05-25) [i386-mingw32]
Rails version 3.2.13
Environment production
Database adapter Mysql2
rmagick (2.13.1)====available

gemfile is :

specs:
actionmailer (3.2.13)
actionpack (= 3.2.13)
mail (> 2.5.3)
actionpack (3.2.13)
activemodel (= 3.2.13)
activesupport (= 3.2.13)
builder (
> 3.0.0)
erubis (> 2.7.0)
journey (
> 1.0.4)
rack (> 1.4.5)
rack-cache (
> 1.2)
rack-test (> 0.6.1)
sprockets (
> 2.2.1)
activemodel (3.2.13)
activesupport (= 3.2.13)
builder (> 3.0.0)
activerecord (3.2.13)
activemodel (= 3.2.13)
activesupport (= 3.2.13)
arel (
> 3.0.2)
tzinfo (> 0.3.29)
activeresource (3.2.13)
activemodel (= 3.2.13)
activesupport (= 3.2.13)
activesupport (3.2.13)
i18n (= 0.6.1)
multi_json (
> 1.0)
acts-as-taggable-on (2.4.1)
rails (>= 3, < 5)
addressable (2.3.6)
arel (3.0.2)
auto_bundle_install (0.0.6)
watchr
awesome_print (1.2.0)
builder (3.0.0)
capybara (2.2.1)
mime-types (>= 1.16)
nokogiri (>= 1.3.3)
rack (>= 1.0.0)
rack-test (>= 0.5.4)
xpath (> 2.0)
capybara-screenshot (1.0.3)
capybara (>= 1.0, < 3)
colored
launchy
celluloid (0.15.2)
timers (
> 1.1.0)
cliver (0.3.2)
coderay (1.0.9)
colored (1.2)
daemons (1.0.10)
database_cleaner (1.3.0)
diff-lcs (1.1.3)
docile (1.1.3)
erubis (2.7.0)
eventmachine (1.0.0-x86-mingw32)
faraday (0.8.0)
multipart-post (> 1.1)
faraday_middleware (0.9.0)
faraday (>= 0.7.4, < 0.9)
fastercsv (1.5.4)
ffi (1.9.3)
formatador (0.2.4)
fuubar (0.0.1)
progressbar (
> 0.9)
rspec (> 2.0)
rspec-instafail (
> 0.1)
gem_plugin (0.2.3)
guard (2.1.0)
formatador (>= 0.2.4)
listen (> 2.1)
lumberjack (
> 1.0)
pry (>= 0.9.12)
thor (>= 0.18.1)
guard-rspec (4.3.1)
guard (> 2.1)
rspec (>= 2.14, < 4.0)
haml (4.0.5)
tilt
hashie (1.2.0)
hike (1.2.1)
hirb (0.1.2)
i18n (0.6.1)
inifile (2.0.2)
journey (1.0.4)
jquery-rails (2.0.3)
railties (>= 3.1.0, < 5.0)
thor (
> 0.14)
json (1.7.7)
launchy (2.4.2)
addressable (> 2.3)
listen (2.7.5)
celluloid (>= 0.15.2)
rb-fsevent (>= 0.9.3)
rb-inotify (>= 0.9)
lumberjack (1.0.0)
mail (2.5.3)
i18n (>= 0.4.0)
mime-types (
> 1.16)
treetop (> 1.4.8)
method_source (0.8.2)
mime-types (1.19)
mongrel (1.2.0.pre2)
daemons (
> 1.0.10)
gem_plugin (> 0.2.3)
mongrel (1.2.0.pre2-x86-mingw32)
gem_plugin (
> 0.2.3)
multi_json (1.3.6)
multipart-post (1.1.0)
mysql2 (0.3.11-x86-mingw32)
net-ldap (0.3.1)
nokogiri (1.5.5-x86-mingw32)
poltergeist (1.5.0)
capybara (> 2.1)
cliver (
> 0.3.1)
multi_json (> 1.0)
websocket-driver (>= 0.2.0)
polyglot (0.3.3)
progressbar (0.9.0)
pry (0.9.12)
coderay (
> 1.0.5)
method_source (> 0.8)
slop (
> 3.4)
rack (1.4.5)
rack-cache (1.2)
rack (>= 0.4)
rack-openid (1.3.1)
rack (>= 1.1.0)
ruby-openid (>= 2.1.8)
rack-ssl (1.3.2)
rack
rack-test (0.6.1)
rack (>= 1.0)
rails (3.2.13)
actionmailer (= 3.2.13)
actionpack (= 3.2.13)
activerecord (= 3.2.13)
activeresource (= 3.2.13)
activesupport (= 3.2.13)
bundler (> 1.0)
railties (= 3.2.13)
railties (3.2.13)
actionpack (= 3.2.13)
activesupport (= 3.2.13)
rack-ssl (
> 1.3.2)
rake (>= 0.8.7)
rdoc (> 3.4)
thor (>= 0.14.6, < 2.0)
rake (10.1.1)
rb-fsevent (0.9.4)
rb-inotify (0.9.4)
ffi (>= 0.5.0)
rdoc (3.12)
json (
> 1.4)
redmine_acts_as_taggable_on (1.0.0)
acts-as-taggable-on (>= 2.3, < 2.5)
rmagick (2.13.1)
rspec (2.14.1)
rspec-core (> 2.14.0)
rspec-expectations (
> 2.14.0)
rspec-mocks (> 2.14.0)
rspec-core (2.14.0)
rspec-expectations (2.14.0)
diff-lcs (>= 1.1.3, < 2.0)
rspec-instafail (0.2.0)
rspec-mocks (2.14.0)
rspec-rails (2.14.2)
actionpack (>= 3.0)
activemodel (>= 3.0)
activesupport (>= 3.0)
railties (>= 3.0)
rspec-core (
> 2.14.0)
rspec-expectations (> 2.14.0)
rspec-mocks (
> 2.14.0)
ruby-ole (1.2.11.7)
ruby-openid (2.1.8)
ruby-progressbar (1.6.0)
rubyzip (1.1.6)
simplecov (0.8.2)
docile (> 1.1.0)
multi_json
simplecov-html (
> 0.8.0)
simplecov-html (0.8.0)
simplecov-rcov (0.2.3)
simplecov (>= 0.4.1)
slop (3.6.0)
spreadsheet (0.9.7)
ruby-ole (>= 1.0)
sprockets (2.2.1)
hike (> 1.2)
multi_json (
> 1.0)
rack (> 1.0)
tilt (
> 1.1, != 1.3.0)
test-unit (2.5.2)
thin (1.3.1)
daemons (>= 1.0.9)
eventmachine (>= 0.12.6)
rack (>= 1.0.0)
thor (0.18.1)
tilt (1.3.3)
timers (1.1.0)
transifex-ruby-fork-jg (0.1.0)
faraday (> 0.8.0)
faraday_middleware (
> 0.9.0)
hashie (> 1.2.0)
treetop (1.4.10)
polyglot
polyglot (>= 0.3.1)
tzinfo (0.3.33)
watchr (0.7)
websocket-driver (0.3.3)
will_paginate (3.0.7)
write_xlsx (0.77.2)
rubyzip (>= 1.0.0)
zip-zip
xpath (2.0.0)
nokogiri (
> 1.3)
ya2yaml (0.31)
yard (0.8.1)
zip-zip (0.3)
rubyzip (>= 1.0.0)

PLATFORMS
x86-mingw32

DEPENDENCIES
activerecord-jdbc-adapter (= 1.2.5)
activerecord-jdbcmysql-adapter
auto_bundle_install (> 0.0.6)
awesome_print
builder (= 3.0.0)
capybara-screenshot
coderay (
> 1.0.9)
database_cleaner
fastercsv (> 1.5.0)
fuubar
guard-rspec
haml
hirb
i18n (
> 0.6.0)
inifile
jquery-rails (> 2.0.2)
launchy
mongrel (= 1.2.0.pre2)
mysql2 (
> 0.3.11)
net-ldap (> 0.3.1)
nokogiri (< 1.6.0)
poltergeist
pry
rack-openid
rails (= 3.2.13)
rake (
> 10.1.1)
redmine_acts_as_taggable_on (> 1.0)
rmagick (>= 2.0.0)
rspec (
> 2.0)
rspec-rails
ruby-openid (> 2.1.4)
ruby-progressbar
rubyzip (>= 1.1.3)
simplecov
simplecov-rcov
spreadsheet
test-unit
thin
transifex-ruby-fork-jg
watchr (
> 0.7)
will_paginate (~> 3.0)
write_xlsx
ya2yaml
yard

zip-zip

log is

Started GET "/redmine/milestones/total_graph?percentajes%5B%5D=NaN&size=500x400&versions%5B%5D=v3.00" for xxx at 2014-11-26 15:02:11 +0800
Processing by MilestonesController#total_graph as HTML
Parameters: {"percentajes"=>["NaN"], "size"=>"500x400", "versions"=>["v3.00"]}
Current user: xxx (id=1)
Completed 500 Internal Server Error in 172ms

Magick::ImageMagickError (RegistryKeyLookupFailed CoderModulesPath' @ module.c/GetMagickModulePath/657): plugins/advanced_roadmap/lib/advanced_roadmap/gruff/base.rb:501:informat='
plugins/advanced_roadmap/lib/advanced_roadmap/gruff/base.rb:501:in block in to_blob' plugins/advanced_roadmap/lib/advanced_roadmap/gruff/base.rb:500:into_blob'
plugins/advanced_roadmap/lib/advanced_roadmap/gruff/base.rb:500:in to_blob' plugins/advanced_roadmap/app/controllers/milestones_controller.rb:116:intotal_graph'
actionpack (3.2.13) lib/action_controller/metal/implicit_render.rb:4:in send_action' actionpack (3.2.13) lib/abstract_controller/base.rb:167:inprocess_action'
actionpack (3.2.13) lib/action_controller/metal/rendering.rb:10:in process_action' actionpack (3.2.13) lib/abstract_controller/callbacks.rb:18:inblock in process_action'
activesupport (3.2.13) lib/active_support/callbacks.rb:458:in _run__407458715__process_action__671916426__callbacks' activesupport (3.2.13) lib/active_support/callbacks.rb:405:in__run_callback'
activesupport (3.2.13) lib/active_support/callbacks.rb:385:in _run_process_action_callbacks' activesupport (3.2.13) lib/active_support/callbacks.rb:81:inrun_callbacks'
actionpack (3.2.13) lib/abstract_controller/callbacks.rb:17:in process_action' actionpack (3.2.13) lib/action_controller/metal/rescue.rb:29:inprocess_action'
actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:30:in block in process_action' activesupport (3.2.13) lib/active_support/notifications.rb:123:inblock in instrument'
activesupport (3.2.13) lib/active_support/notifications/instrumenter.rb:20:in instrument' activesupport (3.2.13) lib/active_support/notifications.rb:123:ininstrument'
actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:29:in process_action' actionpack (3.2.13) lib/action_controller/metal/params_wrapper.rb:207:inprocess_action'
activerecord (3.2.13) lib/active_record/railties/controller_runtime.rb:18:in process_action' actionpack (3.2.13) lib/abstract_controller/base.rb:121:inprocess'
actionpack (3.2.13) lib/abstract_controller/rendering.rb:45:in process' actionpack (3.2.13) lib/action_controller/metal.rb:203:indispatch'
actionpack (3.2.13) lib/action_controller/metal/rack_delegation.rb:14:in dispatch' actionpack (3.2.13) lib/action_controller/metal.rb:246:inblock in action'
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:73:in call' actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:73:indispatch'
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:36:in call' journey (1.0.4) lib/journey/router.rb:68:inblock in call'
journey (1.0.4) lib/journey/router.rb:56:in each' journey (1.0.4) lib/journey/router.rb:56:incall'
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:612:in call' rack-openid (1.3.1) lib/rack/openid.rb:98:incall'
actionpack (3.2.13) lib/action_dispatch/middleware/best_standards_support.rb:17:in call' rack (1.4.5) lib/rack/etag.rb:23:incall'
rack (1.4.5) lib/rack/conditionalget.rb:25:in call' actionpack (3.2.13) lib/action_dispatch/middleware/head.rb:14:incall'
actionpack (3.2.13) lib/action_dispatch/middleware/params_parser.rb:21:in call' actionpack (3.2.13) lib/action_dispatch/middleware/flash.rb:242:incall'
rack (1.4.5) lib/rack/session/abstract/id.rb:210:in context' rack (1.4.5) lib/rack/session/abstract/id.rb:205:incall'
actionpack (3.2.13) lib/action_dispatch/middleware/cookies.rb:341:in call' activerecord (3.2.13) lib/active_record/query_cache.rb:64:incall'
activerecord (3.2.13) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in call' actionpack (3.2.13) lib/action_dispatch/middleware/callbacks.rb:28:inblock in call'
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in _run__1045103921__call__50921559__callbacks' activesupport (3.2.13) lib/active_support/callbacks.rb:405:in__run_callback'
activesupport (3.2.13) lib/active_support/callbacks.rb:385:in _run_call_callbacks' activesupport (3.2.13) lib/active_support/callbacks.rb:81:inrun_callbacks'
actionpack (3.2.13) lib/action_dispatch/middleware/callbacks.rb:27:in call' actionpack (3.2.13) lib/action_dispatch/middleware/remote_ip.rb:31:incall'
actionpack (3.2.13) lib/action_dispatch/middleware/debug_exceptions.rb:16:in call' actionpack (3.2.13) lib/action_dispatch/middleware/show_exceptions.rb:56:incall'
railties (3.2.13) lib/rails/rack/logger.rb:32:in call_app' railties (3.2.13) lib/rails/rack/logger.rb:16:inblock in call'
activesupport (3.2.13) lib/active_support/tagged_logging.rb:22:in tagged' railties (3.2.13) lib/rails/rack/logger.rb:16:incall'
actionpack (3.2.13) lib/action_dispatch/middleware/request_id.rb:22:in call' rack (1.4.5) lib/rack/methodoverride.rb:21:incall'
rack (1.4.5) lib/rack/runtime.rb:17:in call' activesupport (3.2.13) lib/active_support/cache/strategy/local_cache.rb:72:incall'
rack (1.4.5) lib/rack/lock.rb:15:in call' actionpack (3.2.13) lib/action_dispatch/middleware/static.rb:63:incall'
rack-cache (1.2) lib/rack/cache/context.rb:136:in forward' rack-cache (1.2) lib/rack/cache/context.rb:245:infetch'
rack-cache (1.2) lib/rack/cache/context.rb:185:in lookup' rack-cache (1.2) lib/rack/cache/context.rb:66:incall!'
rack-cache (1.2) lib/rack/cache/context.rb:51:in call' railties (3.2.13) lib/rails/engine.rb:479:incall'
railties (3.2.13) lib/rails/application.rb:223:in call' railties (3.2.13) lib/rails/railtie/configurable.rb:30:inmethod_missing'
rack (1.4.5) lib/rack/urlmap.rb:64:in block in call' rack (1.4.5) lib/rack/urlmap.rb:49:ineach'
rack (1.4.5) lib/rack/urlmap.rb:49:in call' thin (1.3.1) lib/thin/connection.rb:80:inblock in pre_process'
thin (1.3.1) lib/thin/connection.rb:78:in catch' thin (1.3.1) lib/thin/connection.rb:78:inpre_process'
thin (1.3.1) lib/thin/connection.rb:53:in process' thin (1.3.1) lib/thin/connection.rb:38:inreceive_data'
eventmachine-1.0.0-x86 (mingw32) lib/eventmachine.rb:187:in run_machine' eventmachine-1.0.0-x86 (mingw32) lib/eventmachine.rb:187:inrun'
thin (1.3.1) lib/thin/backends/base.rb:61:in start' thin (1.3.1) lib/thin/server.rb:159:instart'
thin (1.3.1) lib/thin/controllers/controller.rb:86:in start' thin (1.3.1) lib/thin/runner.rb:185:inrun_command'
thin (1.3.1) lib/thin/runner.rb:151:in run!' thin (1.3.1) bin/thin:6:in<top (required)>'
bin/thin:16:in load' bin/thin:16:in

'

Started GET "/redmine/milestones/total_graph?percentajes%5B%5D=NaN&size=500x400&versions%5B%5D=v3.00" for xxx at 2014-11-26 15:03:54 +0800

ActionController::RoutingError (No route matches [GET] "/milestones/total_graph"):
actionpack (3.2.13) lib/action_dispatch/middleware/debug_exceptions.rb:21:in call' actionpack (3.2.13) lib/action_dispatch/middleware/show_exceptions.rb:56:incall'
railties (3.2.13) lib/rails/rack/logger.rb:32:in call_app' railties (3.2.13) lib/rails/rack/logger.rb:16:inblock in call'
activesupport (3.2.13) lib/active_support/tagged_logging.rb:22:in tagged' railties (3.2.13) lib/rails/rack/logger.rb:16:incall'
actionpack (3.2.13) lib/action_dispatch/middleware/request_id.rb:22:in call' rack (1.4.5) lib/rack/methodoverride.rb:21:incall'
rack (1.4.5) lib/rack/runtime.rb:17:in call' activesupport (3.2.13) lib/active_support/cache/strategy/local_cache.rb:72:incall'
rack (1.4.5) lib/rack/lock.rb:15:in call' actionpack (3.2.13) lib/action_dispatch/middleware/static.rb:63:incall'
rack-cache (1.2) lib/rack/cache/context.rb:136:in forward' rack-cache (1.2) lib/rack/cache/context.rb:245:infetch'
rack-cache (1.2) lib/rack/cache/context.rb:185:in lookup' rack-cache (1.2) lib/rack/cache/context.rb:66:incall!'
rack-cache (1.2) lib/rack/cache/context.rb:51:in call' railties (3.2.13) lib/rails/engine.rb:479:incall'
railties (3.2.13) lib/rails/application.rb:223:in call' railties (3.2.13) lib/rails/railtie/configurable.rb:30:inmethod_missing'
rack (1.4.5) lib/rack/urlmap.rb:64:in block in call' rack (1.4.5) lib/rack/urlmap.rb:49:ineach'
rack (1.4.5) lib/rack/urlmap.rb:49:in call' thin (1.3.1) lib/thin/connection.rb:80:inblock in pre_process'
thin (1.3.1) lib/thin/connection.rb:78:in catch' thin (1.3.1) lib/thin/connection.rb:78:inpre_process'
thin (1.3.1) lib/thin/connection.rb:53:in process' thin (1.3.1) lib/thin/connection.rb:38:inreceive_data'
eventmachine-1.0.0-x86 (mingw32) lib/eventmachine.rb:187:in run_machine' eventmachine-1.0.0-x86 (mingw32) lib/eventmachine.rb:187:inrun'
thin (1.3.1) lib/thin/backends/base.rb:61:in start' thin (1.3.1) lib/thin/server.rb:159:instart'
thin (1.3.1) lib/thin/controllers/controller.rb:86:in start' thin (1.3.1) lib/thin/runner.rb:185:inrun_command'
thin (1.3.1) lib/thin/runner.rb:151:in run!' thin (1.3.1) bin/thin:6:in<top (required)>'
bin/thin:16:in load' bin/thin:16:in

'

error install

rake aborted!
NameError: undefined method completed_pourcent' for classVersion'
/usr/local/rvm/gems/ruby-2.0.0-p451/gems/activesupport-4.1.8/lib/active_support/core_ext/module/aliasing.rb:32:in alias_method' /usr/local/rvm/gems/ruby-2.0.0-p451/gems/activesupport-4.1.8/lib/active_support/core_ext/module/aliasing.rb:32:inalias_method_chain'
/var/www/redmine/plugins/advanced_roadmap_v2/lib/advanced_roadmap/version_patch.rb:15:in block in included' /var/www/redmine/plugins/advanced_roadmap_v2/lib/advanced_roadmap/version_patch.rb:6:inclass_eval'
/var/www/redmine/plugins/advanced_roadmap_v2/lib/advanced_roadmap/version_patch.rb:6:in included' /var/www/redmine/plugins/advanced_roadmap_v2/init.rb:21:ininclude'
/var/www/redmine/plugins/advanced_roadmap_v2/init.rb:21:in <top (required)>' /usr/local/rvm/gems/ruby-2.0.0-p451/gems/activesupport-4.1.8/lib/active_support/dependencies.rb:247:inrequire'
/usr/local/rvm/gems/ruby-2.0.0-p451/gems/activesupport-4.1.8/lib/active_support/dependencies.rb:247:in block in require' /usr/local/rvm/gems/ruby-2.0.0-p451/gems/activesupport-4.1.8/lib/active_support/dependencies.rb:232:inload_dependency'
/usr/local/rvm/gems/ruby-2.0.0-p451/gems/activesupport-4.1.8/lib/active_support/dependencies.rb:247:in require' /var/www/redmine/lib/redmine/plugin.rb:155:inblock in load'
/var/www/redmine/lib/redmine/plugin.rb:146:in each' /var/www/redmine/lib/redmine/plugin.rb:146:inload'
/var/www/redmine/config/initializers/30-redmine.rb:21:in <top (required)>' /usr/local/rvm/gems/ruby-2.0.0-p451/gems/activesupport-4.1.8/lib/active_support/dependencies.rb:241:inload'
/usr/local/rvm/gems/ruby-2.0.0-p451/gems/activesupport-4.1.8/lib/active_support/dependencies.rb:241:in block in load' /usr/local/rvm/gems/ruby-2.0.0-p451/gems/activesupport-4.1.8/lib/active_support/dependencies.rb:232:inload_dependency'
/usr/local/rvm/gems/ruby-2.0.0-p451/gems/activesupport-4.1.8/lib/active_support/dependencies.rb:241:in load' /usr/local/rvm/gems/ruby-2.0.0-p451/gems/railties-4.1.8/lib/rails/engine.rb:648:inblock in load_config_initializer'
/usr/local/rvm/gems/ruby-2.0.0-p451/gems/activesupport-4.1.8/lib/active_support/notifications.rb:161:in instrument' /usr/local/rvm/gems/ruby-2.0.0-p451/gems/railties-4.1.8/lib/rails/engine.rb:647:inload_config_initializer'
/usr/local/rvm/gems/ruby-2.0.0-p451/gems/railties-4.1.8/lib/rails/engine.rb:612:in block (2 levels) in <class:Engine>' /usr/local/rvm/gems/ruby-2.0.0-p451/gems/railties-4.1.8/lib/rails/engine.rb:611:ineach'
/usr/local/rvm/gems/ruby-2.0.0-p451/gems/railties-4.1.8/lib/rails/engine.rb:611:in block in <class:Engine>' /usr/local/rvm/gems/ruby-2.0.0-p451/gems/railties-4.1.8/lib/rails/initializable.rb:30:ininstance_exec'
/usr/local/rvm/gems/ruby-2.0.0-p451/gems/railties-4.1.8/lib/rails/initializable.rb:30:in run' /usr/local/rvm/gems/ruby-2.0.0-p451/gems/railties-4.1.8/lib/rails/initializable.rb:55:inblock in run_initializers'
/usr/local/rvm/gems/ruby-2.0.0-p451/gems/railties-4.1.8/lib/rails/initializable.rb:44:in each' /usr/local/rvm/gems/ruby-2.0.0-p451/gems/railties-4.1.8/lib/rails/initializable.rb:44:intsort_each_child'
/usr/local/rvm/gems/ruby-2.0.0-p451/gems/railties-4.1.8/lib/rails/initializable.rb:54:in run_initializers' /usr/local/rvm/gems/ruby-2.0.0-p451/gems/railties-4.1.8/lib/rails/application.rb:300:ininitialize!'
/var/www/redmine/config/environment.rb:14:in <top (required)>' /usr/local/rvm/gems/ruby-2.0.0-p451/gems/activesupport-4.1.8/lib/active_support/dependencies.rb:247:inrequire'
/usr/local/rvm/gems/ruby-2.0.0-p451/gems/activesupport-4.1.8/lib/active_support/dependencies.rb:247:in block in require' /usr/local/rvm/gems/ruby-2.0.0-p451/gems/activesupport-4.1.8/lib/active_support/dependencies.rb:232:inload_dependency'
/usr/local/rvm/gems/ruby-2.0.0-p451/gems/activesupport-4.1.8/lib/active_support/dependencies.rb:247:in require' /usr/local/rvm/gems/ruby-2.0.0-p451/gems/railties-4.1.8/lib/rails/application.rb:276:inrequire_environment!'
/usr/local/rvm/gems/ruby-2.0.0-p451/gems/railties-4.1.8/lib/rails/application.rb:389:in `block in run_tasks_blocks'
Tasks: TOP => redmine:plugins:migrate => environment

(See full trace by running task with --trace)

/redmine/plugins/advanced_roadmap_v2/lib/advanced_roadmap$ vi version_patch.rb

pourcent --> percent

If you modify the typos version_patch.rb being installed.

undefined method `version_filtered_issues_path'

So i created a new Version, linked it to a milestone, then added a ticket and i'm getting 500 error while trying to access the milestone.

Started GET "/milestones/1" for 5.228.54.207 at 2014-12-02 14:16:46 +0300
Processing by MilestonesController#show as HTML
  Parameters: {"id"=>"1"}
  Current user: jumashev (id=1)
  Rendered plugins/advanced_roadmap/app/views/versions/_total.html.erb (1.9ms)
  Rendered versions/_overview.html.erb (141.0ms)
  Rendered plugins/advanced_roadmap/app/views/versions/_info.html.erb (141.6ms)
  Rendered plugins/advanced_roadmap/app/views/milestones/show.html.erb within layouts/base (161.7ms)
Completed 500 Internal Server Error in 181.5ms

ActionView::Template::Error (undefined method `version_filtered_issues_path' for #<#<Class:0xcb582fc>:0xd949208>):
    20:                      :width => '40em', :legend => ('%0.0f%' % version.completed_percent)) %>
    21:     <p class="progress-info">
    22:       <%= link_to(l(:label_x_issues, :count => version.issues_count),
    23:                   version_filtered_issues_path(version, :status_id => '*')) %>
    24:       &nbsp;
    25:       (<%= link_to_if(version.closed_issues_count > 0,
    26:                       l(:label_x_closed_issues_abbr, :count => version.closed_issues_count),
  app/views/versions/_overview.html.erb:23:in _app_views_versions__overview_html_erb__549252352_107088690'

aboug graph remove

It is just an advice, for the 3 reasons:

  1. it is not so meaningful, we donot have use the graph indeed.
    2.the graph will add loading time of readmine
    3.graph is not shown in each redmine env. for rmagick or other dependency.

Completed 500 Internal Server Error

Missing template, responding with 404
Rendered common/error.html.erb within layouts/base (0.0ms)
Completed 500 Internal Server Error in 47.0ms

ActionView::Template::Error (Missing partial hooks/stylesheet with {:locale=>[:"zh-TW", :zh, :en], :formats=>[:html], :handlers=>[:erb, :builder, :rsb]}. Searched in:

  • "C:/Sites/redmine-2.6.0/app/views"
    ):
    11: <%= stylesheet_link_tag 'rtl', :media => 'all' if l(:direction) == 'rtl' %>
    12: <%= javascript_heads %>
    13: <%= heads_for_theme %>
    14: <%= call_hook :view_layouts_base_html_head %>
    15:
    16: <%= yield :header_tags -%>
    17:
    lib/redmine/hook.rb:111:in block in render_on' lib/redmine/hook.rb:61:inblock (2 levels) in call_hook'
    lib/redmine/hook.rb:61:in each' lib/redmine/hook.rb:61:inblock in call_hook'
    lib/redmine/hook.rb:58:in tap' lib/redmine/hook.rb:58:incall_hook'
    lib/redmine/hook.rb:158:in call_hook' app/views/layouts/base.html.erb:14:in_app_views_layouts_base_html_erb__308105914_47812620'
    app/controllers/application_controller.rb:465:in block (2 levels) in render_error' app/controllers/application_controller.rb:463:inrender_error'
    app/controllers/application_controller.rb:451:in render_404' app/controllers/application_controller.rb:475:inmissing_template'

Environment:
Redmine version 2.6.0.stable
Ruby version 2.0.0-p247 (2013-06-27) [i386-mingw32]
Rails version 3.2.19
Environment production
Database adapter Mysql2
SCM:
Subversion 1.8.3
Git 1.8.4
Filesystem
Redmine plugins:
no plugin installed

[Patch] fixed de.yml

Hi,
I fixed the mistakes in the german language file. Please feel free to use it.
Regards,
Marc.

de:
  label_click_to_enlarge_reduce: "Klicken zum VergrรถรŸern/Verkleinern"
  label_estimated_speed: "Geschรคtzte Geschwindigkeit"
  label_f_day: "%{value} Tag"
  label_f_day_plural: "%{value} Tage"
  label_f_week: "%{value} Woche"
  label_f_week_plural: "%{value} Wochen"
  label_milestone: "Meilenstein"
  label_milestone_new: "Neuer Meilenstein"
  label_milestone_plural: "Meilensteine"
  label_setting_show_due_time: "Zeige die verbleibende Zeit anstatt der Fรคlligkeit"
  label_setting_color_bad: "Farbe fรผr schlechtes Drehzahlverhรคltnis"
  label_setting_color_good: "Farbe fรผr gutes Drehzahlverhรคltnis"
  label_setting_color_very_bad: "Farbe fรผr sehr schlechtes Drehzahlverhรคltnis"
  label_setting_ratio_bad: "Schlechtes Drehzahlverhรคltnis"
  label_setting_ratio_good: "Gutes Drehzahlverhรคltnis"
  label_setting_ratio_very_bad: "Sehr schlechtes Drehzahlverhรคltnis"
  label_setting_solved_issues_to_estimate: "Gelรถste Tickets zu schรคtzen"
  notice_unable_delete_milestone: "Meilenstein konnte nicht entfernt werden."
  permission_manage_milestones: "Meilensteine verwalten"
  permission_view_issue_estimated_hours: "Ansicht veranschlagte Stunden"

There is no Milestones tab in the Project Settings Menu

Hello again,

Thank you for the response but the original issue is still not fixed.

There is no Milestones tab in the Project Settings Menu. I cannot Create, Edit or Delete milestones.
The latest download did create the DB table correctly and I verified Managers have Permissions on the Milestone.
Still, there is not Milestone Menu in the Project Settings. Even if logged in as Admin.

Thanks

Error when accessing a roadmap

When I open the roadmap page of a project, I get a "Page not found error" with redmine 2.5.2 (Debian Jessie). I get the following in the log:

Started GET "/projects/dummy_project/roadmap" for 127.0.0.1 at 2015-01-05 23:48:23 +0100
Processing by VersionsController#index as HTML
  Parameters: {"project_id"=>"dummy_project"}
  Current user: admin (id=1)
  Rendered plugins/advanced_roadmap_v2/app/views/versions/_total.html.erb (2.0ms)
  Rendered plugins/advanced_roadmap_v2/app/views/versions/index.html.erb within layouts/base (6.7ms)
Completed 500 Internal Server Error in 24ms

ActiveRecord::RecordNotFound (Couldn't find all Issues with 'id': (all, {:conditions=>{:parent_id=>nil, :tracker_id=>["2"]}, :include=>[:status, :tracker, :priority], :order=>"trackers.position, issues.subject"}) [WHERE `issues`.`fixed_version_id` = ? AND (projects.status <> 9 AND projects.id IN (SELECT em.project_id FROM enabled_modules em WHERE em.name='issue_tracking'))] (found 0 results, but was looking for 2)):
  /usr/lib/ruby/vendor_ruby/active_record/relation/finder_methods.rb:320:in `raise_record_not_found_exception!'
  /usr/lib/ruby/vendor_ruby/active_record/relation/finder_methods.rb:452:in `find_some'
  /usr/lib/ruby/vendor_ruby/active_record/relation/finder_methods.rb:416:in `find_with_ids'
  /usr/lib/ruby/vendor_ruby/active_record/relation/finder_methods.rb:68:in `find'
  plugins/advanced_roadmap_v2/lib/advanced_roadmap/version_patch.rb:105:in `sorted_fixed_issues'
  plugins/advanced_roadmap_v2/app/views/versions/index.html.erb:10:in `block in _plugins_advanced_roadmap_v__app_views_versions_index_html_erb__721153103338422235_38426560'
  plugins/advanced_roadmap_v2/app/views/versions/index.html.erb:8:in `each'
  plugins/advanced_roadmap_v2/app/views/versions/index.html.erb:8:in `_plugins_advanced_roadmap_v__app_views_versions_index_html_erb__721153103338422235_38426560'
  /usr/lib/ruby/vendor_ruby/action_view/template.rb:145:in `block in render'
  /usr/lib/ruby/vendor_ruby/active_support/notifications.rb:161:in `instrument'
  /usr/lib/ruby/vendor_ruby/action_view/template.rb:339:in `instrument'
  /usr/lib/ruby/vendor_ruby/action_view/template.rb:143:in `render'
  /usr/lib/ruby/vendor_ruby/action_view/renderer/template_renderer.rb:55:in `block (2 levels) in render_template'
  /usr/lib/ruby/vendor_ruby/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
  /usr/lib/ruby/vendor_ruby/active_support/notifications.rb:159:in `block in instrument'
  /usr/lib/ruby/vendor_ruby/active_support/notifications/instrumenter.rb:20:in `instrument'
  /usr/lib/ruby/vendor_ruby/active_support/notifications.rb:159:in `instrument'
  /usr/lib/ruby/vendor_ruby/action_view/renderer/abstract_renderer.rb:38:in `instrument'
  /usr/lib/ruby/vendor_ruby/action_view/renderer/template_renderer.rb:54:in `block in render_template'
  /usr/lib/ruby/vendor_ruby/action_view/renderer/template_renderer.rb:62:in `render_with_layout'
  /usr/lib/ruby/vendor_ruby/action_view/renderer/template_renderer.rb:53:in `render_template'
  /usr/lib/ruby/vendor_ruby/action_view/renderer/template_renderer.rb:17:in `render'
  /usr/lib/ruby/vendor_ruby/action_view/renderer/renderer.rb:42:in `render_template'
  /usr/lib/ruby/vendor_ruby/action_view/renderer/renderer.rb:23:in `render'
  /usr/lib/ruby/vendor_ruby/action_view/rendering.rb:99:in `_render_template'
  /usr/lib/ruby/vendor_ruby/action_controller/metal/streaming.rb:217:in `_render_template'
  /usr/lib/ruby/vendor_ruby/action_view/rendering.rb:82:in `render_to_body'
  /usr/lib/ruby/vendor_ruby/action_controller/metal/rendering.rb:32:in `render_to_body'
  /usr/lib/ruby/vendor_ruby/action_controller/metal/renderers.rb:32:in `render_to_body'
  /usr/lib/ruby/vendor_ruby/abstract_controller/rendering.rb:25:in `render'
  /usr/lib/ruby/vendor_ruby/action_controller/metal/rendering.rb:16:in `render'
  /usr/lib/ruby/vendor_ruby/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render'
  /usr/lib/ruby/vendor_ruby/active_support/core_ext/benchmark.rb:12:in `block in ms'
  /usr/lib/ruby/2.1.0/benchmark.rb:294:in `realtime'
  /usr/lib/ruby/vendor_ruby/active_support/core_ext/benchmark.rb:12:in `ms'
  /usr/lib/ruby/vendor_ruby/action_controller/metal/instrumentation.rb:41:in `block in render'
  /usr/lib/ruby/vendor_ruby/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime'
  /usr/lib/ruby/vendor_ruby/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
  /usr/lib/ruby/vendor_ruby/action_controller/metal/instrumentation.rb:40:in `render'
  /usr/lib/ruby/vendor_ruby/action_controller/metal/implicit_render.rb:10:in `default_render'
  /usr/lib/ruby/vendor_ruby/action_controller/metal/implicit_render.rb:5:in `send_action'
  /usr/lib/ruby/vendor_ruby/abstract_controller/base.rb:189:in `process_action'
  /usr/lib/ruby/vendor_ruby/action_controller/metal/rendering.rb:10:in `process_action'
  /usr/lib/ruby/vendor_ruby/abstract_controller/callbacks.rb:20:in `block in process_action'
  /usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:113:in `call'
  /usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:113:in `call'
  /usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:166:in `block in halting'
  /usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:149:in `call'
  /usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:149:in `block in halting_and_conditional'
  /usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:149:in `call'
  /usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:149:in `block in halting_and_conditional'
  /usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:149:in `call'
  /usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:149:in `block in halting_and_conditional'
  /usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:166:in `call'
  /usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:166:in `block in halting'
  /usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:166:in `call'
  /usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:166:in `block in halting'
  /usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:166:in `call'
  /usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:166:in `block in halting'
  /usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:166:in `call'
  /usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:166:in `block in halting'
  /usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:166:in `call'
  /usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:166:in `block in halting'
  /usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:229:in `call'
  /usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:229:in `block in halting'
  /usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:166:in `call'
  /usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:166:in `block in halting'
  /usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:86:in `call'
  /usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:86:in `run_callbacks'
  /usr/lib/ruby/vendor_ruby/abstract_controller/callbacks.rb:19:in `process_action'
  /usr/lib/ruby/vendor_ruby/action_controller/metal/rescue.rb:29:in `process_action'
  /usr/lib/ruby/vendor_ruby/action_controller/metal/instrumentation.rb:31:in `block in process_action'
  /usr/lib/ruby/vendor_ruby/active_support/notifications.rb:159:in `block in instrument'
  /usr/lib/ruby/vendor_ruby/active_support/notifications/instrumenter.rb:20:in `instrument'
  /usr/lib/ruby/vendor_ruby/active_support/notifications.rb:159:in `instrument'
  /usr/lib/ruby/vendor_ruby/action_controller/metal/instrumentation.rb:30:in `process_action'
  /usr/lib/ruby/vendor_ruby/action_controller/metal/params_wrapper.rb:250:in `process_action'
  /usr/lib/ruby/vendor_ruby/active_record/railties/controller_runtime.rb:18:in `process_action'
  /usr/lib/ruby/vendor_ruby/abstract_controller/base.rb:136:in `process'
  /usr/lib/ruby/vendor_ruby/action_view/rendering.rb:30:in `process'
  /usr/lib/ruby/vendor_ruby/action_controller/metal.rb:196:in `dispatch'
  /usr/lib/ruby/vendor_ruby/action_controller/metal/rack_delegation.rb:13:in `dispatch'
  /usr/lib/ruby/vendor_ruby/action_controller/metal.rb:232:in `block in action'
  /usr/lib/ruby/vendor_ruby/action_dispatch/routing/route_set.rb:82:in `call'
  /usr/lib/ruby/vendor_ruby/action_dispatch/routing/route_set.rb:82:in `dispatch'
  /usr/lib/ruby/vendor_ruby/action_dispatch/routing/route_set.rb:50:in `call'
  /usr/lib/ruby/vendor_ruby/action_dispatch/journey/router.rb:73:in `block in call'
  /usr/lib/ruby/vendor_ruby/action_dispatch/journey/router.rb:59:in `each'
  /usr/lib/ruby/vendor_ruby/action_dispatch/journey/router.rb:59:in `call'
  /usr/lib/ruby/vendor_ruby/action_dispatch/routing/route_set.rb:678:in `call'
  /usr/lib/ruby/vendor_ruby/rack/openid.rb:98:in `call'
  /usr/lib/ruby/vendor_ruby/rack/etag.rb:23:in `call'
  /usr/lib/ruby/vendor_ruby/rack/conditionalget.rb:25:in `call'
  /usr/lib/ruby/vendor_ruby/rack/head.rb:11:in `call'
  /usr/lib/ruby/vendor_ruby/action_dispatch/middleware/params_parser.rb:27:in `call'
  /usr/lib/ruby/vendor_ruby/action_dispatch/middleware/flash.rb:254:in `call'
  /usr/lib/ruby/vendor_ruby/rack/session/abstract/id.rb:225:in `context'
  /usr/lib/ruby/vendor_ruby/rack/session/abstract/id.rb:220:in `call'
  /usr/lib/ruby/vendor_ruby/action_dispatch/middleware/cookies.rb:560:in `call'
  /usr/lib/ruby/vendor_ruby/active_record/query_cache.rb:36:in `call'
  /usr/lib/ruby/vendor_ruby/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
  /usr/lib/ruby/vendor_ruby/action_dispatch/middleware/callbacks.rb:29:in `block in call'
  /usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:82:in `run_callbacks'
  /usr/lib/ruby/vendor_ruby/action_dispatch/middleware/callbacks.rb:27:in `call'
  /usr/lib/ruby/vendor_ruby/action_dispatch/middleware/remote_ip.rb:76:in `call'
  /usr/lib/ruby/vendor_ruby/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
  /usr/lib/ruby/vendor_ruby/action_dispatch/middleware/show_exceptions.rb:30:in `call'
  /usr/lib/ruby/vendor_ruby/rails/rack/logger.rb:38:in `call_app'
  /usr/lib/ruby/vendor_ruby/rails/rack/logger.rb:20:in `block in call'
  /usr/lib/ruby/vendor_ruby/active_support/tagged_logging.rb:68:in `block in tagged'
  /usr/lib/ruby/vendor_ruby/active_support/tagged_logging.rb:26:in `tagged'
  /usr/lib/ruby/vendor_ruby/active_support/tagged_logging.rb:68:in `tagged'
  /usr/lib/ruby/vendor_ruby/rails/rack/logger.rb:20:in `call'
  /usr/lib/ruby/vendor_ruby/request_store/middleware.rb:8:in `call'
  /usr/lib/ruby/vendor_ruby/active_record/query_cache.rb:36:in `call'
  /usr/lib/ruby/vendor_ruby/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
  /usr/lib/ruby/vendor_ruby/action_dispatch/middleware/callbacks.rb:29:in `block in call'
  /usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:82:in `run_callbacks'
  /usr/lib/ruby/vendor_ruby/action_dispatch/middleware/callbacks.rb:27:in `call'
  /usr/lib/ruby/vendor_ruby/action_dispatch/middleware/remote_ip.rb:76:in `call'
  /usr/lib/ruby/vendor_ruby/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
  /usr/lib/ruby/vendor_ruby/action_dispatch/middleware/show_exceptions.rb:30:in `call'
  /usr/lib/ruby/vendor_ruby/rails/rack/logger.rb:38:in `call_app'
  /usr/lib/ruby/vendor_ruby/rails/rack/logger.rb:20:in `block in call'
  /usr/lib/ruby/vendor_ruby/active_support/tagged_logging.rb:68:in `block in tagged'
  /usr/lib/ruby/vendor_ruby/active_support/tagged_logging.rb:26:in `tagged'
  /usr/lib/ruby/vendor_ruby/active_support/tagged_logging.rb:68:in `tagged'
  /usr/lib/ruby/vendor_ruby/rails/rack/logger.rb:20:in `call'
  /usr/lib/ruby/vendor_ruby/request_store/middleware.rb:8:in `call'
  /usr/lib/ruby/vendor_ruby/action_dispatch/middleware/request_id.rb:21:in `call'
  /usr/lib/ruby/vendor_ruby/rack/methodoverride.rb:21:in `call'
  /usr/lib/ruby/vendor_ruby/rack/runtime.rb:17:in `call'
  /usr/lib/ruby/vendor_ruby/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
  /usr/lib/ruby/vendor_ruby/action_dispatch/middleware/static.rb:84:in `call'
  /usr/lib/ruby/vendor_ruby/rack/sendfile.rb:112:in `call'
  /usr/lib/ruby/vendor_ruby/rails/engine.rb:514:in `call'
  /usr/lib/ruby/vendor_ruby/rails/application.rb:144:in `call'
  /usr/lib/ruby/vendor_ruby/rails/railtie.rb:194:in `public_send'
  /usr/lib/ruby/vendor_ruby/rails/railtie.rb:194:in `method_missing'
  /usr/lib/ruby/vendor_ruby/rack/handler/webrick.rb:60:in `service'
  /usr/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
  /usr/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
  /usr/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'

Error on regexp: The provided regular expression is using multiline anchors

first thanks for the update! The installation runs now. But now there is a problem with rails >4.0. When I open a site there is an error:

ActionView::Template::Error (The provided regular expression is using multiline anchors (^ or $), which may present a security risk. Did you mean to use \A and \z, or forgot to add the :multiline => true option?):
1: <%- if [email protected]? -%>
2:
<%= l(:label_milestone_plural) %>

3: <%- @project.milestones.sort.each do |milestone| -%>
4: <%= link_to_milestone(milestone) %>

5: <%- end -%>
6: <%- end -%>

I think there was a chang with ^ and $ in rails 4.

graph & progress bar not displayed

image

Environment:
Redmine version 2.4.1.stable
Ruby version 1.9.3-p231 (2012-05-25) [i386-mingw32]
Rails version 3.2.16
Environment production
Database adapter Mysql2
SCM:
Subversion 1.8.9
Git 1.8.3
Filesystem
Redmine plugins:
advanced_roadmap_v2 2.4.0
openalms_traceability 1.0.0
redmine_banner 0.0.8
redmine_better_gantt_chart 0.9.0
redmine_ckeditor 1.0.16
redmine_impasse 1.2.2
redmine_importer 1.2.2
redmine_issue_detailed_tabs_time 0.1.0
redmine_issue_templates 0.0.9
redmine_monitoring_controlling 0.1.1
redmine_my_page_queries 2.1.6
sidebar_hide 0.0.7

graph & progress bar not displayed and total is displayed in 0%.
"Administration > Information > RMagick available (optional)" has also been checked.
what's the problem?

Thank you!

manager cannot add milestone

associated with #8
I can not add a milestone as manager (button "add" missing).
I can add milestone only as admin.

Environment:
  Redmine version                2.6.1.stable
  Ruby version                   1.9.3-p448 (2013-06-27) [i486-linux]
  Rails version                  3.2.21
  Environment                    production
  Database adapter               Mysql2
SCM:
  Git                            1.8.4
  Filesystem                     
Redmine plugins:
  advanced_roadmap_v2            2.1.1
  projects_table                 0.0.4

"Edit Milestone" gives 404

Hi,

clicking on "edit" (german: bearbeiten) on the roadmap for a milestone,
auswahl_006
I got a 404 for the url
auswahl_007

Processing by MilestonesController#show as HTML
  Parameters: {"id"=>"1"}
  Current user: admin (id=1)
  Rendered plugins/advanced_roadmap_v2/app/views/versions/_total.html.erb (5.3ms)
Scoped order and limit are ignored, it's forced to be batch order and batch size
  Rendered versions/_overview.html.erb (7.3ms)
  Rendered plugins/advanced_roadmap_v2/app/views/versions/_info.html.erb (13.0ms)
  Rendered plugins/advanced_roadmap_v2/app/views/milestones/show.html.erb within layouts/base (65.9ms)
  Rendered plugins/advanced_roadmap_v2/app/views/hooks/_stylesheet.html.erb (0.6ms)
  Rendered plugins/redmine_wiki_extensions/app/views/wiki_extensions/_html_header.html.erb (20.7ms)
  Rendered plugins/author/app/views/author/_profile.html.erb (0.6ms)
  Rendered plugins/redmine_wiki_extensions/app/views/wiki_extensions/_body_bottom.html.erb (1.7ms)
Completed 200 OK in 233ms (Views: 179.5ms | ActiveRecord: 14.0ms)
Started GET "/milestones/total_graph?percentajes%5B%5D=NaN&size=500x400&versions%5B%5D=Version+1" for 192.168.178.56 at 2015-03-06 12:19:35 +0100
Processing by MilestonesController#total_graph as HTML
  Parameters: {"percentajes"=>["NaN"], "size"=>"500x400", "versions"=>["Version 1"]}
  Current user: admin (id=1)
  Rendered text template (0.2ms)
Sent data  (2.2ms)
Completed 200 OK in 202ms (Views: 1.8ms | ActiveRecord: 1.0ms)
Started GET "/milestones/1/edit" for 192.168.178.56 at 2015-03-06 12:22:06 +0100
Processing by MilestonesController#edit as HTML
  Parameters: {"id"=>"1"}
  Current user: admin (id=1)
Completed 404 Not Found in 27ms

ActiveRecord::RecordNotFound (Couldn't find Project with 'id'=all):
  app/models/project.rb:296:in `find'

I'm not sure, if this really belongs to "advanced roadmap v2" ...

404 error after first new milestone

Hi,

With a fresh, new Redmine 3.0 and the only advanced roadmap v2 plugin enabled, I got an 404 error when I add a new "milestone 1" (assoziate with the only "version 1").
auswahl_004

auswahl_005

production.log:

Started GET "/projects/test-mbu/milestones/new?back_url=" for 192.168.1.2 at 2015-03-05 14:20:54 +0100
Processing by MilestonesController#new as HTML
  Parameters: {"back_url"=>"", "project_id"=>"test-mbu"}
  Current user: admin (id=1)
  Rendered plugins/advanced_roadmap_v2/app/views/milestones/_form.html.erb (27.6ms)
  Rendered plugins/advanced_roadmap_v2/app/views/milestones/new.html.erb within layouts/base (32.2ms)
  Rendered plugins/advanced_roadmap_v2/app/views/hooks/_stylesheet.html.erb (0.7ms)
Completed 200 OK in 142ms (Views: 112.4ms | ActiveRecord: 6.9ms)
Started POST "/projects/test-mbu/milestones" for 192.168.1.2 at 2015-03-05 14:21:02 +0100
Processing by MilestonesController#create as HTML
  Parameters: {"utf8"=>"โœ“", "authenticity_token"=>"3x52CoI8ZmJS/uDt3oF5bNe7ZLjv+a7SDEYQNg7N1UEyGPCPW+LVSWff6NZDjgO6EPVFPXRdbB4M5Ivq4J2n0Q==", "milestone"=>{"name"=>"Meilenstein 1", "description"=>"", "effective_date"=>""}, "versions"=>["1"], "commit"=>"Anlegen", "project_id"=>"test-mbu"}
  Current user: admin (id=1)
WARNING: Can't mass-assign protected attributes for Milestone: name, description, effective_date

Missing template, responding with 404
  Rendered common/error.html.erb within layouts/base (0.6ms)
  Rendered plugins/advanced_roadmap_v2/app/views/hooks/_stylesheet.html.erb (0.7ms)
Completed 404 Not Found in 90ms (Views: 41.7ms | ActiveRecord: 5.5ms)

Environment:
Redmine version 3.0.0.stable.14045
Ruby version 2.2.0-p0 (2014-12-25) [x86_64-linux]
Rails version 4.2.0
Environment production
Database adapter Mysql2
SCM:
Subversion 1.8.8
Git 1.9.1
Filesystem
Redmine plugins:
advanced_roadmap_v2 2.2.1

Redmine inaccessible after installing Advance Roadmap v2

Hello,

I'm getting an error when I install this plugin on Redmine v2.6 (running on Ubuntu under phusion, nginx and docker). Fy first thought was that there might have been a compatibility problem with another plugin so I have removed all but Adv Roadmap but I'm still getting the following error:

ActionView::Template::Error (Missing partial hooks/stylesheet with {:locale=>[:en], :formats=>[:html], :handlers=>[:erb, :builder, :rsb]}. Searched in:

  • "/home/app/htdocs/projects/app/views"
    ):
    11: <%= stylesheet_link_tag 'rtl', :media => 'all' if l(:direction) == 'rtl' %>
    12: <%= javascript_heads %>
    13: <%= heads_for_theme %>
    14: <%= call_hook :view_layouts_base_html_head %>
    15:
    16: <%= yield :header_tags -%>
    17:
    lib/redmine/hook.rb:111:in block in render_on' lib/redmine/hook.rb:61:inblock (2 levels) in call_hook'
    lib/redmine/hook.rb:61:in each' lib/redmine/hook.rb:61:inblock in call_hook'
    lib/redmine/hook.rb:58:in tap' lib/redmine/hook.rb:58:incall_hook'
    lib/redmine/hook.rb:158:in call_hook' app/views/layouts/base.html.erb:14:in_app_views_layouts_base_html_erb___1777458717933728732_41863980'
    app/controllers/application_controller.rb:465:in block (2 levels) in render_error' app/controllers/application_controller.rb:463:inrender_error'
    app/controllers/application_controller.rb:451:in render_404' app/controllers/application_controller.rb:475:inmissing_template'

Do you know what might be causing this problem.

Thanks
Chris

Adding milestone error

Hi, when adding a new milestone, multiple table heades appears...
Is it correct? I'm using Redmine 2.3.0
add_milestone_error

Thanks!

Calendar view results in Internal error

From the logs:

Completed 500 Internal Server Error in 239.6ms

NoMethodError (undefined method `merge_conditions' for #<Class:0x000000028d9378>):
  activerecord (3.2.20) lib/active_record/dynamic_matchers.rb:55:in `method_missing'
  plugins/advanced_roadmap/lib/advanced_roadmap/query_patch.rb:13:in `milestones'
  plugins/advanced_roadmap/lib/advanced_roadmap/calendars_controller_patch.rb:17:in `add_milestones'
  activesupport (3.2.20) lib/active_support/callbacks.rb:214:in `_conditional_callback_around_3097'

Env:

Environment:
  Redmine version                2.6.0.stable.13553
  Ruby version                   1.9.3-p194 (2012-04-20) [x86_64-linux]
  Rails version                  3.2.20
  Environment                    production
  Database adapter               Mysql2

500 Internal Server Error when there are no fonts

when the system is not installed fonts /usr/share/ghostscript/fonts/.., error leads to crash the server. (SlackWare, WEBrick).

original (ru):
ะบะพะณะดะฐ ะฒ ัะธัั‚ะตะผะต ะฝะต ัƒัั‚ะฐะฝะพะฒะปะตะฝั‹ ัˆั€ะธั„ั‚ั‹ /usr/share/ghostscript/fonts/.., ะพัˆะธะฑะบะฐ ะฟั€ะธะฒะพะดะธั‚ ะบ ะทะฐะฒะธัะฐะฝะธัŽ ัะตั€ะฒะตั€ะฐ. (SlackWare, WEBrick).

log:

Processing by MilestonesController#total_graph as HTML
  Parameters: {"percentajes"=>["NaN"], "size"=>"500x400", "versions"=>["ะ’ะตั€ัะธั ะขะ•ะกะขะžะ’ะะฏ"]}
  Current user: admin (id=1)
Completed 500 Internal Server Error in 114.6ms

Magick::ImageMagickError (unable to read font `/usr/share/ghostscript/fonts/n019003l.pfb' @ error/annotate.c/RenderFreetype/1126: `(null)'):
  plugins/advanced_roadmap/lib/advanced_roadmap/gruff/base.rb:1096:in `get_type_metrics'
  plugins/advanced_roadmap/lib/advanced_roadmap/gruff/base.rb:1096:in `calculate_caps_height'
  plugins/advanced_roadmap/lib/advanced_roadmap/gruff/base.rb:583:in `setup_graph_measurements'
  plugins/advanced_roadmap/lib/advanced_roadmap/gruff/base.rb:538:in `setup_drawing'
  plugins/advanced_roadmap/lib/advanced_roadmap/gruff/base.rb:514:in `draw'
  plugins/advanced_roadmap/lib/advanced_roadmap/gruff/pie.rb:30:in `draw'
  plugins/advanced_roadmap/lib/advanced_roadmap/gruff/base.rb:499:in `to_blob'
  plugins/advanced_roadmap/app/controllers/milestones_controller.rb:116:in `total_graph'
  actionpack (3.2.19) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
  actionpack (3.2.19) lib/abstract_controller/base.rb:167:in `process_action'
  actionpack (3.2.19) lib/action_controller/metal/rendering.rb:10:in `process_action'
  actionpack (3.2.19) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
  activesupport (3.2.19) lib/active_support/callbacks.rb:480:in `_run__217058483__process_action__350673969__callbacks'
  activesupport (3.2.19) lib/active_support/callbacks.rb:405:in `__run_callback'
  activesupport (3.2.19) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
  activesupport (3.2.19) lib/active_support/callbacks.rb:81:in `run_callbacks'
  actionpack (3.2.19) lib/abstract_controller/callbacks.rb:17:in `process_action'
  actionpack (3.2.19) lib/action_controller/metal/rescue.rb:29:in `process_action'
  actionpack (3.2.19) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
  activesupport (3.2.19) lib/active_support/notifications.rb:123:in `block in instrument'
  activesupport (3.2.19) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
  activesupport (3.2.19) lib/active_support/notifications.rb:123:in `instrument'
  actionpack (3.2.19) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
  actionpack (3.2.19) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
  activerecord (3.2.19) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
  actionpack (3.2.19) lib/abstract_controller/base.rb:121:in `process'
  actionpack (3.2.19) lib/abstract_controller/rendering.rb:45:in `process'
  actionpack (3.2.19) lib/action_controller/metal.rb:203:in `dispatch'
  actionpack (3.2.19) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
  actionpack (3.2.19) lib/action_controller/metal.rb:246:in `block in action'
  actionpack (3.2.19) lib/action_dispatch/routing/route_set.rb:73:in `call'
  actionpack (3.2.19) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
  actionpack (3.2.19) lib/action_dispatch/routing/route_set.rb:36:in `call'
  journey (1.0.4) lib/journey/router.rb:68:in `block in call'
  journey (1.0.4) lib/journey/router.rb:56:in `each'
  journey (1.0.4) lib/journey/router.rb:56:in `call'
  actionpack (3.2.19) lib/action_dispatch/routing/route_set.rb:608:in `call'
  rack-openid (1.4.2) lib/rack/openid.rb:98:in `call'
  request_store (1.0.5) lib/request_store/middleware.rb:9:in `call'
  actionpack (3.2.19) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
  rack (1.4.5) lib/rack/etag.rb:23:in `call'
  rack (1.4.5) lib/rack/conditionalget.rb:25:in `call'
  actionpack (3.2.19) lib/action_dispatch/middleware/head.rb:14:in `call'
  actionpack (3.2.19) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
  actionpack (3.2.19) lib/action_dispatch/middleware/flash.rb:242:in `call'
  rack (1.4.5) lib/rack/session/abstract/id.rb:210:in `context'
  rack (1.4.5) lib/rack/session/abstract/id.rb:205:in `call'
  actionpack (3.2.19) lib/action_dispatch/middleware/cookies.rb:341:in `call'
  activerecord (3.2.19) lib/active_record/query_cache.rb:64:in `call'
  activerecord (3.2.19) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
  actionpack (3.2.19) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
  activesupport (3.2.19) lib/active_support/callbacks.rb:405:in `_run__987228302__call__1070697650__callbacks'
  activesupport (3.2.19) lib/active_support/callbacks.rb:405:in `__run_callback'
  activesupport (3.2.19) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
  activesupport (3.2.19) lib/active_support/callbacks.rb:81:in `run_callbacks'
  actionpack (3.2.19) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
  actionpack (3.2.19) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
  actionpack (3.2.19) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
  actionpack (3.2.19) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
  railties (3.2.19) lib/rails/rack/logger.rb:32:in `call_app'
  railties (3.2.19) lib/rails/rack/logger.rb:16:in `block in call'
  activesupport (3.2.19) lib/active_support/tagged_logging.rb:22:in `tagged'
  railties (3.2.19) lib/rails/rack/logger.rb:16:in `call'
  actionpack (3.2.19) lib/action_dispatch/middleware/request_id.rb:22:in `call'
  rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
  rack (1.4.5) lib/rack/runtime.rb:17:in `call'
  activesupport (3.2.19) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
  rack (1.4.5) lib/rack/lock.rb:15:in `call'
  actionpack (3.2.19) lib/action_dispatch/middleware/static.rb:63:in `call'
  rack-cache (1.2) lib/rack/cache/context.rb:136:in `forward'
  rack-cache (1.2) lib/rack/cache/context.rb:245:in `fetch'
  rack-cache (1.2) lib/rack/cache/context.rb:185:in `lookup'
  rack-cache (1.2) lib/rack/cache/context.rb:66:in `call!'
  rack-cache (1.2) lib/rack/cache/context.rb:51:in `call'
  railties (3.2.19) lib/rails/engine.rb:484:in `call'
  railties (3.2.19) lib/rails/application.rb:231:in `call'
  rack (1.4.5) lib/rack/content_length.rb:14:in `call'
  rack (1.4.5) lib/rack/handler/webrick.rb:59:in `service'
  /usr/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
  /usr/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
  /usr/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'

404 when creating milestone

Redmine v.3.0.3
Advanced Roadmap Plugin v.2.4.1
No other plugins are present.

  • navigate to projects->settings->milestones
  • click "(+) new milstone"
  • fill the name, click "create"

In response i get a 404 page, and the folowing lines appear in the logfile:

App 10618 stderr: Started POST "/redmine/projects/viking/milestones" for 127.0.0.1 at 2015-05-26 15:00:51 +0200
App 10618 stderr: Processing by MilestonesController#create as HTML
App 10618 stderr:   Parameters: {"utf8"=>"โœ“", "authenticity_token"=>"9k6tQfbnTUCScaF6HwZ0RQfndIylHGqdO38KSM7YyIpGIUrfvHfpCCw+5KUY+s0p86H5RwodfGWSE7Vn4/sbQA==", "milestone"=>{"name"=>"Implement a basic viewer..", "description"=>"", "effective_date"=>""}, "commit"=>"Create", "project_id"=>"viking"}
App 10618 stderr:   Current user: vakorol (id=5)
App 10618 stderr: Missing template, responding with 404
App 10618 stderr:   Rendered common/error.html.erb within layouts/base (0.2ms)
App 10618 stderr:   Rendered plugins/advanced_roadmap_v2/app/views/hooks/_stylesheet.html.erb (0.2ms)
App 10618 stderr: Completed 404 Not Found in 173ms (Views: 11.1ms | ActiveRecord: 3.2ms)

Due Date

Hi, can this plugin show due dates of the referenced issues in the roadmap ?

500 error upon git clone installation.

Tried installing your plugin. After restarting apache, I get a 500 error immediately. Below is a copy of the production.log file. updated 6/23/2015

Started GET "/admin" for 192.168.1.58 at 2015-06-23 16:04:27 -0500
Processing by AdminController#index as HTML
Current user: *******(id=320)
Rendered admin/_menu.html.erb (4.8ms)
Rendered admin/index.html.erb within layouts/admin (6.1ms)
Rendered layouts/base.html.erb (8.5ms)
Missing template, responding with 404
Rendered common/error.html.erb within layouts/base (0.2ms)
Completed 500 Internal Server Error in 39ms (ActiveRecord: 0.6ms)

ActionView::Template::Error (Missing partial hooks/_stylesheet with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :rsb]}. Searched in:

  • "/var/data/redmine/plugins/redmine_monitoring_controlling/app/views"
  • "/var/data/redmine/plugins/redmine_ldap_sync/app/views"
  • "/var/data/redmine/plugins/redmine_importer/app/views"
  • "/var/data/redmine/plugins/redmine_ckeditor/app/views"
  • "/var/data/redmine/plugins/redmine_checklists/app/views"
  • "/var/data/redmine/plugins/redmine_bootstrap_kit/app/views"
  • "/var/data/redmine/plugins/redmine_agile/app/views"
  • "/var/data/redmine/app/views"
  • "/usr/local/rvm/gems/ruby-2.0.0-p643/gems/kaminari-0.16.3/app/views"
  • "/usr/local/rvm/gems/ruby-2.0.0-p643/bundler/gems/rich-93d1dd9526e1/app/views"
    ):
    11: <%= stylesheet_link_tag 'rtl', :media => 'all' if l(:direction) == 'rtl' %>
    12: <%= javascript_heads %>
    13: <%= heads_for_theme %>
    14: <%= call_hook :view_layouts_base_html_head %>
    15:
    16: <%= yield :header_tags -%>
    17:
    lib/redmine/hook.rb:119:in block (2 levels) in render_on' lib/redmine/hook.rb:117:inmap'
    lib/redmine/hook.rb:117:in block in render_on' lib/redmine/hook.rb:61:inblock (2 levels) in call_hook'
    lib/redmine/hook.rb:61:in each' lib/redmine/hook.rb:61:inblock in call_hook'
    lib/redmine/hook.rb:58:in tap' lib/redmine/hook.rb:58:incall_hook'
    lib/redmine/hook.rb:167:in call_hook' app/views/layouts/base.html.erb:14:in_app_views_layouts_base_html_erb__4553804919593994518_48302540'
    app/controllers/application_controller.rb:469:in block (2 levels) in render_error' app/controllers/application_controller.rb:467:inrender_error'
    app/controllers/application_controller.rb:455:in render_404' app/controllers/application_controller.rb:479:inmissing_template'

Associate a shared versions to Milestone

I have two project , one (A) is the child of the other (B).
I have shared versions between projects and an A I can see the versions of B and viceversa, but I can't associate a version of B in a milestone of project A (and viceversa).

Is this a feature or a bug? If it is a feature can you suggest me where to change the behaviour? Maybe is just a matter of db query?

Cannot add milestone

tarted GET "/project_milestones/new.projectname?back_url=" for 5.228.54.207 at 2014-12-02 11:42:01 +0300
Processing by ProjectMilestonesController#new as
  Parameters: {"back_url"=>""}
  Current user: jumashev (id=1)
Completed 500 Internal Server Error in 14.9ms

NoMethodError (undefined method `id' for nil:NilClass):
  plugins/redmine_project_milestones/app/controllers/project_milestones_controller.rb:77:in `find_issues'
  activesupport (3.2.19) lib/active_support/callbacks.rb:495:in `_run__268687854__process_action__630035451__callbacks'
  activesupport (3.2.19) lib/active_support/callbacks.rb:405:in `__run_callback'
  activesupport (3.2.19) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
  activesupport (3.2.19) lib/active_support/callbacks.rb:81:in `run_callbacks'
  actionpack (3.2.19) lib/abstract_controller/callbacks.rb:17:in `process_action'
  actionpack (3.2.19) lib/action_controller/metal/rescue.rb:29:in `process_action'
  actionpack (3.2.19) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
  activesupport (3.2.19) lib/active_support/notifications.rb:123:in `block in instrument'
  activesupport (3.2.19) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
  activesupport (3.2.19) lib/active_support/notifications.rb:123:in `instrument'
  actionpack (3.2.19) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
  actionpack (3.2.19) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
  activerecord (3.2.19) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
  actionpack (3.2.19) lib/abstract_controller/base.rb:121:in `process'
  actionpack (3.2.19) lib/abstract_controller/rendering.rb:45:in `process'
  actionpack (3.2.19) lib/action_controller/metal.rb:203:in `dispatch'
  actionpack (3.2.19) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
  actionpack (3.2.19) lib/action_controller/metal.rb:246:in `block in action'
  actionpack (3.2.19) lib/action_dispatch/routing/route_set.rb:73:in `call'
  actionpack (3.2.19) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
  actionpack (3.2.19) lib/action_dispatch/routing/route_set.rb:36:in `call'
  journey (1.0.4) lib/journey/router.rb:68:in `block in call'
  journey (1.0.4) lib/journey/router.rb:56:in `each'
  journey (1.0.4) lib/journey/router.rb:56:in `call'
  actionpack (3.2.19) lib/action_dispatch/routing/route_set.rb:608:in `call'
  rack-raw-upload (1.1.1) lib/rack/raw_upload.rb:18:in `call'
  rack-openid (1.4.2) lib/rack/openid.rb:98:in `call'
  request_store (1.0.5) lib/request_store/middleware.rb:9:in `call'
  actionpack (3.2.19) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
  rack (1.4.5) lib/rack/etag.rb:23:in `call'
  rack (1.4.5) lib/rack/conditionalget.rb:25:in `call'
  actionpack (3.2.19) lib/action_dispatch/middleware/head.rb:14:in `call'
  actionpack (3.2.19) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
  actionpack (3.2.19) lib/action_dispatch/middleware/flash.rb:242:in `call'
  rack (1.4.5) lib/rack/session/abstract/id.rb:210:in `context'
  rack (1.4.5) lib/rack/session/abstract/id.rb:205:in `call'
  actionpack (3.2.19) lib/action_dispatch/middleware/cookies.rb:341:in `call'
  activerecord (3.2.19) lib/active_record/query_cache.rb:64:in `call'
  activerecord (3.2.19) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
  actionpack (3.2.19) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
  activesupport (3.2.19) lib/active_support/callbacks.rb:405:in `_run__936757985__call__94399422__callbacks'
  activesupport (3.2.19) lib/active_support/callbacks.rb:405:in `__run_callback'
  activesupport (3.2.19) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
  activesupport (3.2.19) lib/active_support/callbacks.rb:81:in `run_callbacks'
  actionpack (3.2.19) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
  actionpack (3.2.19) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
  actionpack (3.2.19) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
  actionpack (3.2.19) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
  railties (3.2.19) lib/rails/rack/logger.rb:32:in `call_app'
  railties (3.2.19) lib/rails/rack/logger.rb:16:in `block in call'
  activesupport (3.2.19) lib/active_support/tagged_logging.rb:22:in `tagged'
  railties (3.2.19) lib/rails/rack/logger.rb:16:in `call'
  actionpack (3.2.19) lib/action_dispatch/middleware/request_id.rb:22:in `call'
  rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
  rack (1.4.5) lib/rack/runtime.rb:17:in `call'
  activesupport (3.2.19) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
  rack (1.4.5) lib/rack/lock.rb:15:in `call'
  actionpack (3.2.19) lib/action_dispatch/middleware/static.rb:63:in `call'
  rack-cache (1.2) lib/rack/cache/context.rb:136:in `forward'
  rack-cache (1.2) lib/rack/cache/context.rb:245:in `fetch'
  rack-cache (1.2) lib/rack/cache/context.rb:185:in `lookup'
  rack-cache (1.2) lib/rack/cache/context.rb:66:in `call!'
  rack-cache (1.2) lib/rack/cache/context.rb:51:in `call'
  railties (3.2.19) lib/rails/engine.rb:484:in `call'
  railties (3.2.19) lib/rails/application.rb:231:in `call'
  railties (3.2.19) lib/rails/railtie/configurable.rb:30:in `method_missing'
  unicorn (4.8.1) lib/unicorn/http_server.rb:571:in `process_client'
  unicorn (4.8.1) lib/unicorn/http_server.rb:665:in `worker_loop'
  unicorn (4.8.1) lib/unicorn/http_server.rb:520:in `spawn_missing_workers'
  unicorn (4.8.1) lib/unicorn/http_server.rb:140:in `start'
  unicorn (4.8.1) bin/unicorn_rails:209:in `<top (required)>'
  /usr/local/bin/unicorn_rails:23:in `load'
  /usr/local/bin/unicorn_rails:23:in `<main>'

Only 1 set of milestones displayed in Gantt Chart

Hello, love the plugin, the way I have our redmine configured is to have a master project. then I have subprojects. Each subproject has their own milestones. this works great. when I look at a subproject's gantt chart, i see the milestones, and tickets, and it all looks great.

when i look at the master project's gantt chart what i see is

master_project_gantt

If i click into any subproject, I see all the milestones associated with it:

subproject_gantt

Only in the master Project Gantt chart, i see only the first subprojects milestones. How do i see the milestones for all the subprojects in the master project's gantt chart?

milestone is missing

When installed, the Settings page is not reachable, due to that milestone is missing in the database.

Started GET "/projects/elvira/settings" for 10.40.232.73 at 2015-05-06 13:08:27 +0200
Processing by ProjectsController#settings as HTML
Parameters: {"id"=>"elvira"}
Current user: admin (id=1)
Rendered projects/_form.html.erb (14.8ms)
Rendered projects/_edit.html.erb (16.1ms)
Rendered projects/settings/_modules.html.erb (5.4ms)
Rendered projects/settings/_members.html.erb (5.4ms)
Mysql2::Error: Table 'TOOLS_redmine.milestones' doesn't exist: SHOW FULL FIELDS FROM milestones
Rendered plugins/advanced_roadmap_v2/app/views/projects/settings/_milestones.html.erb (2.6ms)
Rendered common/_tabs.html.erb (34.6ms)
Rendered projects/settings.html.erb within layouts/base (35.4ms)
Completed 500 Internal Server Error in 51ms (ActiveRecord: 7.8ms)

ActionView::Template::Error (Mysql2::Error: Table 'TOOLS_redmine.milestones' doesn't exist: SHOW FULL FIELDS FROM milestones):
1: <% if @project.milestones.any? %>
2:


3:
4:
app/views/common/_tabs.html.erb:22:in block in _app_views_common__tabs_html_erb__2480430053352086892_38162820' app/views/common/_tabs.html.erb:21:ineach'
app/views/common/_tabs.html.erb:21:in _app_views_common__tabs_html_erb__2480430053352086892_38162820' app/helpers/application_helper.rb:321:inrender_tabs'
app/views/projects/settings.html.erb:3:in `_app_views_projects_settings_html_erb__2144554563248894226_38266340'

<%= l(:label_milestone) %>

Gantt View broken with advanced roadmap v2 enabled

Hi

the gantt view gives a 500 error

Processing by GanttsController#show as HTML
  Parameters: {"project_id"=>"test-mbu"}
  Current user: admin (id=1)
  Rendered queries/_filters.html.erb (236.4ms)
  Rendered gantts/show.html.erb within layouts/base (501.5ms)
Completed 500 Internal Server Error in 819ms

ActionView::Template::Error (undefined method `abort?' for #<Redmine::Helpers::Gantt:0x00000005665440>):
    102: 
    103:   # Width of the entire chart
    104:   g_width = ((@gantt.date_to - @gantt.date_from + 1) * zoom).to_i
    105:   @gantt.render(:top => headers_height + 8,
    106:                 :zoom => zoom,
    107:                 :g_width => g_width,
    108:                 :subject_width => subject_width)
  lib/redmine/helpers/gantt.rb:225:in `block (2 levels) in render_project'
  lib/redmine/helpers/gantt.rb:224:in `each'
  lib/redmine/helpers/gantt.rb:224:in `block in render_project'
  lib/redmine/helpers/gantt.rb:276:in `increment_indent'
  lib/redmine/helpers/gantt.rb:217:in `render_project'
  lib/redmine/helpers/gantt.rb:205:in `block in render'
  app/models/project.rb:756:in `block in project_tree'
  app/models/project.rb:752:in `each'
  app/models/project.rb:752:in `project_tree'
  lib/redmine/helpers/gantt.rb:203:in `render'
  app/views/gantts/show.html.erb:105:in `_app_views_gantts_show_html_erb__66866357230285753_36965880'
  app/controllers/gantts_controller.rb:43:in `block (2 levels) in show'
  app/controllers/gantts_controller.rb:42:in `show'

Here a screenshot without "advanced roadmap v2":
auswahl_008

Environment:
Redmine version 3.0.0.stable.14045
Ruby version 2.2.0-p0 (2014-12-25) [x86_64-linux]
Rails version 4.2.0
Environment production
Database adapter Mysql2
SCM:
Subversion 1.8.8
Git 1.9.1
Filesystem
Redmine plugins:
advanced_roadmap_v2 2.3.2

undefined method `permissions'

# rake redmine:plugins:migrate NAME=advanced_roadmap_v2 RAILS_ENV=production
Migrating advanced_roadmap_v2 (Advanced roadmap & milestones plugin)...
==  PresetPermissions: migrating ==============================================
rake aborted!
StandardError: An error has occurred, all later migrations canceled:

undefined method `permissions' for nil:NilClass/var/www/rm260/plugins/advanced_roadmap_v2/db/migrate/003_preset_permissions.rb:4:in `up'
/usr/local/rvm/gems/ruby-1.9.3-p327/gems/activerecord-3.2.19/lib/active_record/migration.rb:370:in `up'
/usr/local/rvm/gems/ruby-1.9.3-p327/gems/activerecord-3.2.19/lib/active_record/migration.rb:410:in `block (2 levels) in migrate'
/usr/local/rvm/gems/ruby-1.9.3-p327/gems/activerecord-3.2.19/lib/active_record/migration.rb:410:in `block in migrate'
/usr/local/rvm/gems/ruby-1.9.3-p327/gems/activerecord-3.2.19/lib/active_record/connection_adapters/abstract/connection_pool.rb:129:in `with_connection'
/usr/local/rvm/gems/ruby-1.9.3-p327/gems/activerecord-3.2.19/lib/active_record/migration.rb:389:in `migrate'
/usr/local/rvm/gems/ruby-1.9.3-p327/gems/activerecord-3.2.19/lib/active_record/migration.rb:528:in `migrate'
/usr/local/rvm/gems/ruby-1.9.3-p327/gems/activerecord-3.2.19/lib/active_record/migration.rb:720:in `block (2 levels) in migrate'
/usr/local/rvm/gems/ruby-1.9.3-p327/gems/activerecord-3.2.19/lib/active_record/migration.rb:777:in `call'
/usr/local/rvm/gems/ruby-1.9.3-p327/gems/activerecord-3.2.19/lib/active_record/migration.rb:777:in `ddl_transaction'
/usr/local/rvm/gems/ruby-1.9.3-p327/gems/activerecord-3.2.19/lib/active_record/migration.rb:719:in `block in migrate'
/usr/local/rvm/gems/ruby-1.9.3-p327/gems/activerecord-3.2.19/lib/active_record/migration.rb:700:in `each'
/usr/local/rvm/gems/ruby-1.9.3-p327/gems/activerecord-3.2.19/lib/active_record/migration.rb:700:in `migrate'
/usr/local/rvm/gems/ruby-1.9.3-p327/gems/activerecord-3.2.19/lib/active_record/migration.rb:570:in `up'
/usr/local/rvm/gems/ruby-1.9.3-p327/gems/activerecord-3.2.19/lib/active_record/migration.rb:551:in `migrate'
/var/www/rm260/lib/redmine/plugin.rb:469:in `migrate_plugin'
/var/www/rm260/lib/redmine/plugin.rb:441:in `migrate'
/var/www/rm260/lib/redmine/plugin.rb:452:in `migrate'
/var/www/rm260/lib/tasks/redmine.rake:127:in `block (3 levels) in <top (required)>'
/usr/local/rvm/gems/ruby-1.9.3-p327/bin/ruby_noexec_wrapper:14:in `eval'
/usr/local/rvm/gems/ruby-1.9.3-p327/bin/ruby_noexec_wrapper:14:in `<main>'
Tasks: TOP => redmine:plugins:migrate
(See full trace by running task with --trace)

Internal Server Error with new version

Hello!
I updated to the new Version. When I open the roadmap I get an error:

Completed 500 Internal Server Error in 813ms

NoMethodError (undefined method order' for #<Array:0x00000006ac2c30>): plugins/advanced_roadmap_v2/lib/advanced_roadmap/version_patch.rb:134:insort_versions'
plugins/advanced_roadmap_v2/lib/advanced_roadmap/versions_controller_patch.rb:11:in index_with_plugin' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:insend_action'
actionpack (4.2.0) lib/abstract_controller/base.rb:198:in process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:inprocess_action'
actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:incall'
activesupport (4.2.0) lib/active_support/callbacks.rb:117:in call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:inblock in halting'
activesupport (4.2.0) lib/active_support/callbacks.rb:151:in call' activesupport (4.2.0) lib/active_support/callbacks.rb:151:inblock in halting_and_conditional'
activesupport (4.2.0) lib/active_support/callbacks.rb:151:in call' activesupport (4.2.0) lib/active_support/callbacks.rb:151:inblock in halting_and_conditional'
activesupport (4.2.0) lib/active_support/callbacks.rb:151:in call' activesupport (4.2.0) lib/active_support/callbacks.rb:151:inblock in halting_and_conditional'
activesupport (4.2.0) lib/active_support/callbacks.rb:169:in call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:inblock in halting'
activesupport (4.2.0) lib/active_support/callbacks.rb:169:in call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:inblock in halting'
activesupport (4.2.0) lib/active_support/callbacks.rb:169:in call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:inblock in halting'
activesupport (4.2.0) lib/active_support/callbacks.rb:169:in call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:inblock in halting'
activesupport (4.2.0) lib/active_support/callbacks.rb:169:in call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:inblock in halting'
activesupport (4.2.0) lib/active_support/callbacks.rb:169:in call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:inblock in halting'
activesupport (4.2.0) lib/active_support/callbacks.rb:234:in call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:inblock in halting'
activesupport (4.2.0) lib/active_support/callbacks.rb:169:in call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:inblock in halting'
activesupport (4.2.0) lib/active_support/callbacks.rb:92:in call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in_run_callbacks'
activesupport (4.2.0) lib/active_support/callbacks.rb:734:in _run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:inrun_callbacks'
actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:inprocess_action'
actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:inblock in instrument'
activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:ininstrument'
actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:inprocess_action'
activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:inprocess'
actionview (4.2.0) lib/action_view/rendering.rb:30:in process' actionpack (4.2.0) lib/action_controller/metal.rb:195:indispatch'
actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:inblock in action'
actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:indispatch'
actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:inblock in serve'
actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:inserve'
actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in call' rack-openid (1.4.2) lib/rack/openid.rb:98:incall'
request_store (1.0.5) lib/request_store/middleware.rb:9:in call' rack (1.6.0) lib/rack/etag.rb:24:incall'
rack (1.6.0) lib/rack/conditionalget.rb:25:in call' rack (1.6.0) lib/rack/head.rb:13:incall'
actionpack-xml_parser (1.0.1) lib/action_dispatch/xml_params_parser.rb:16:in call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:incall'
actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:incontext'
rack (1.6.0) lib/rack/session/abstract/id.rb:220:in call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:incall'
activerecord (4.2.0) lib/active_record/query_cache.rb:36:in call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:incall'
actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:incall'
activesupport (4.2.0) lib/active_support/callbacks.rb:88:in _run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in_run_call_callbacks'
activesupport (4.2.0) lib/active_support/callbacks.rb:81:in run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:incall'
actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:incall'
actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in call' railties (4.2.0) lib/rails/rack/logger.rb:38:incall_app'
railties (4.2.0) lib/rails/rack/logger.rb:20:in block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:inblock in tagged'
activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:intagged'
railties (4.2.0) lib/rails/rack/logger.rb:20:in call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:incall'
rack (1.6.0) lib/rack/methodoverride.rb:22:in call' rack (1.6.0) lib/rack/runtime.rb:18:incall'
activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:incall'
rack (1.6.0) lib/rack/sendfile.rb:113:in call' railties (4.2.0) lib/rails/engine.rb:518:incall'
railties (4.2.0) lib/rails/application.rb:164:in call' railties (4.2.0) lib/rails/railtie.rb:194:inpublic_send'
railties (4.2.0) lib/rails/railtie.rb:194:in method_missing' /usr/lib/ruby/vendor_ruby/phusion_passenger/rack/thread_handler_extension.rb:77:inprocess_request'
/usr/lib/ruby/vendor_ruby/phusion_passenger/request_handler/thread_handler.rb:142:in accept_and_process_next_request' /usr/lib/ruby/vendor_ruby/phusion_passenger/request_handler/thread_handler.rb:110:inmain_loop'
/usr/lib/ruby/vendor_ruby/phusion_passenger/request_handler.rb:448:in `block (3 levels) in start_threads'

The error occurs since Commit "Fix milestone creation under Redmine 3.x. Closes #37. ". If I checkout to the commit before ("Update de translation. Closes #38 .Thanks projectplant !") then everything works fine.

Thanks for your work!

[Feature] Order of versions

Hello!
Is it possible to order the versions in the roadmap. At the moment I have for example 3 versions (15.0/16.1/17.0). When I click "Roadmap" I see this order: first 15.0, then 17.0, last 16.1.
Can this be ordered by name or date?

Best regards!

Wrong link when behind a reverse proxy

Hi,

I just installed this plugin and really like it but I also found one little bug. It is about the host name used for the link to a mile stone from within the calendar view.

Following setup:

1. Running redmine on host redmine.internal.net
2. Accessing redmine over the reverse proxy using redmine.external.com

As far as I can see all links are getting create corretly except one. The one which defines the href inside a calender entry leading to a milestone. The linke points to: https://redmine.internal.net/milestones/1

Greez,

Dirk

Invalid char `\x08' in expression

I get this error insted diagram in roadmap:

URL:

http://localhost:3000/redmine/milestones/total_graph?percentajes%5B%5D=23.578036455222076&percentajes%5B%5D=76.42196354477792&percentajes%5B%5D=0.0&size=500x400&versions%5B%5D=%D0%98%D1%82%D0%B5%D1%80%D0%B0%D1%86%D0%B8%D1%8F+6+%28v.2.4.0-m4%29&versions%5B%5D=%D0%98%D1%82%D0%B5%D1%80%D0%B0%D1%86%D0%B8%D1%8F+7+%28v.2.4.0-m5%29&versions%5B%5D=%D0%98%D1%82%D0%B5%D1%80%D0%B0%D1%86%D0%B8%D1%8F+8+%28v.2.4.0-alpha1%29

Cannot access to plugin configuration

When I access to configuration of plugin advanced_roadmap_v2, I get an "Internal Server Error". I get the following error in log:

Started GET "/settings/plugin/advanced_roadmap_v2" for 127.0.0.1 at 2015-01-05 23:33:27 +0100
Processing by SettingsController#plugin as HTML
  Parameters: {"id"=>"advanced_roadmap_v2"}
  Current user: admin (id=1)
  Rendered plugins/advanced_roadmap_v2/app/views/settings/_advanced_roadmap_settings.html.erb (3.0ms)
  Rendered settings/plugin.html.erb within layouts/admin (4.3ms)
Completed 500 Internal Server Error in 9ms

ActiveRecord::RecordNotFound (Couldn't find all CustomFields with 'id': (all, {:conditions=>"type = 'VersionCustomField'"}) (found 0 results, but was looking for 2)):
  app/views/settings/plugin.html.erb:6:in `block in _app_views_settings_plugin_html_erb___3787169580527891943_37416140'
  app/views/settings/plugin.html.erb:4:in `_app_views_settings_plugin_html_erb___3787169580527891943_37416140'

For reference, I use redmine 2.5.2 (the one in Debian Jessie)

estimate time in the issue conflict

When the plug-in installed, the estimated time field in the issue has conflict with the pug-in, even if the estimated time is not blank,when creating the issue, there is message said: the estimated time is blank.

and I found redmine speed is slow when the plug-in installed.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.