TravisSpangle / redmine_spent_time_in_issue_description

Redmine Plugin that drops Time Entry data into the Issue Description
16 stars 17 forks source link

Can't access to issues with Redmine 3.4 #47

Closed mtolava closed 7 years ago

mtolava commented 7 years ago

Im update Redmine 2.6 to Redmine 3.4 and have some problems. The plugin locks great, but when I tried to check Issues tab, Redmine show me 500 error page.

Redmine Environment:

  Redmine version                3.4.2.stable.16835
  Ruby version                   2.4.0-p0 (2016-12-24) [i686-linux]
  Rails version                  4.2.8
  Environment                    production
  Database adapter               Mysql2
SCM:
  Subversion                     1.6.17
  Git                            1.7.10.4

About Backlogs version v1.0.6 (v1.0.6-156-g09b1104e3d) (feature/Redmine3)

Error log

Processing by IssuesController#index as HTML
  Parameters: {"project_id"=>"lashermpv"}
  Current user: martin (id=62)
  Rendered queries/_filters.html.erb (26.7ms)
  Rendered queries/_query_form.html.erb (27.5ms)
  Rendered issues/index.html.erb within layouts/base (31.4ms)
Completed 500 Internal Server Error in 167ms (ActiveRecord: 13.7ms)

ActionView::Template::Error (undefined method `remote' for #<Hash:0xdc7f918>):
    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__146066115_115341870'
  app/views/queries/_filters.html.erb:1:in `_app_views_queries__filters_html_erb__146066115_115341870'
  app/views/queries/_query_form.html.erb:10:in `_app_views_queries__query_form_html_erb__1002941495_115373390'
  app/views/issues/index.html.erb:11:in `block in _app_views_issues_index_html_erb__141641124_115430300'
  app/views/issues/index.html.erb:10:in `_app_views_issues_index_html_erb__141641124_115430300'
  app/controllers/issues_controller.rb:51:in `block (2 levels) in index'
  app/controllers/issues_controller.rb:46:in `index'
  lib/redmine/sudo_mode.rb:63:in `sudo_mode'