Closed aozhi2nd closed 6 years ago
The same error in version 3.4.4 when show cronograpth
Environment:
Redmine version 3.4.4.stable
Ruby version 2.4.3-p205 (2017-12-14) [x86_64-linux]
Rails version 4.2.8
Environment production
Database adapter Mysql2
SCM:
Subversion 1.6.11
Git 1.7.1
Filesystem
Redmine plugins:
plus_gantt 0.0.7
Started GET "/issues/plusgantt/show?project_id=pr-test-001" for 192.168.1.35 at 2018-02-25 12:35:46 +0100 Processing by PlusganttController#show as HTML Parameters: {"project_id"=>"pr-test-001"} Current user: admin (id=1) Rendered queries/_filters.html.erb (12.2ms) Rendered plugins/plus_gantt/app/views/plusgantt/show.html.erb within layouts/base (97.9ms) Completed 500 Internal Server Error in 125ms (ActiveRecord: 10.4ms)
ActionView::Template::Error (undefined method link_to_content_update' for #<#<Class:0x00007fad1d9922e0>:0x00007fad1dde42f8> Did you mean? link_to_function): 59: 60: <div class="contextual"> 61: <%= gantt_zoom_link(@plusgantt, :in) %> 62: <%= gantt_zoom_link(@plusgantt, :out) %> 63: </div> 64: </p> 65: <% end %> plugins/plus_gantt/app/helpers/plusgantt_helper.rb:16:in
gantt_zoom_link'
plugins/plus_gantt/app/views/plusgantt/show.html.erb:62:in block in _plugins_plus_gantt_app_views_plusgantt_show_html_erb__4284082112177738117_70190751255600' plugins/plus_gantt/app/views/plusgantt/show.html.erb:11:in
_plugins_plus_gantt_app_views_plusgantt_show_html_erb__4284082112177738117_70190751255600'
plugins/plus_gantt/app/controllers/plusgantt_controller.rb:28:in block (2 levels) in show' plugins/plus_gantt/app/controllers/plusgantt_controller.rb:27:in
show'
lib/redmine/sudo_mode.rb:63:in `sudo_mode'