Open keithkuk opened 7 years ago
+1 When trying to view spent times it goes into an internal server error. I have tested it with redmine_tagging plugin only, too (no other plugins). Same error.
The production log states:
Started GET "/projects/idial-server/time_entries" for 192.168.0.254 at 2017-07-28 15:17:40 +0200
Processing by TimelogController#index as HTML
Parameters: {"project_id"=>"idial-server"}
Current user: kevin.koellmann (id=8)
Rendered queries/_filters.html.erb (4.0ms)
Rendered queries/_query_form.html.erb (4.3ms)
Rendered timelog/_date_range.html.erb (4.4ms)
Rendered timelog/index.html.erb within layouts/base (4.8ms)
Completed 500 Internal Server Error in 41ms (ActiveRecord: 11.5ms)
ActionView::Template::Error (undefined method `remote' for #<Hash:0x007fb44f144280>):
1: <%= javascript_tag do %>
2: var operatorLabels = <%= raw_json Query.operators_labels %>;
3: var operatorByType = <%= raw_json Query.operators_by_filter_type %>;
4: var availableFilters = <%= raw_json query.available_filters_as_json %>;
5: var labelDayPlural = <%= raw_json l(:label_day_plural) %>;
6:
7: var filtersUrl = <%= raw_json queries_filter_path(:project_id => @query.project.try(:id), :type => @query.type) %>;
app/models/query.rb:464:in `block in available_filters_as_json'
app/models/query.rb:462:in `each'
app/models/query.rb:462:in `available_filters_as_json'
app/views/queries/_filters.html.erb:4:in `block in _app_views_queries__filters_html_erb___218005857970535534_70206203145280'
app/views/queries/_filters.html.erb:1:in `_app_views_queries__filters_html_erb___218005857970535534_70206203145280'
app/views/queries/_query_form.html.erb:10:in `_app_views_queries__query_form_html_erb__4133403555005295366_70206203058420'
app/views/timelog/_date_range.html.erb:1:in `_app_views_timelog__date_range_html_erb__3845577496136492909_70206203018520'
app/views/timelog/index.html.erb:10:in `block in _app_views_timelog_index_html_erb__4526196220538483806_70206202905200'
app/views/timelog/index.html.erb:9:in `_app_views_timelog_index_html_erb__4526196220538483806_70206202905200'
app/controllers/timelog_controller.rb:54:in `block (2 levels) in index'
app/controllers/timelog_controller.rb:48:in `index'
lib/redmine/sudo_mode.rb:63:in `sudo_mode'
My environment:
Environment:
Redmine version 3.4.2.stable
Ruby version 2.3.1-p112 (2016-04-26) [x86_64-linux-gnu]
Rails version 4.2.8
Environment production
Database adapter Mysql2
SCM:
Subversion 1.9.3
Cvs 1.12.13
Git 2.7.4
Filesystem
Redmine plugins:
redmine_agile 1.4.4
redmine_ckeditor 1.1.5
redmine_gitlab_hook 0.1.3
redmine_tagging 0.1.6
PS: Also happens when using redmine_tagging v0.1.5 release
can not support 3.4.2.stable
Internal error
An error occurred on the page you were trying to access. If you continue to experience problems please contact your Redmine administrator for assistance.
If you are the Redmine administrator, check your log files for details about the error.
Back