Project

General

Profile

Defect #1327

Multi-issues edition fails when serveral project issues are selected

Added by Emilio González Montaña over 4 years ago. Updated over 4 years ago.

Status:
Resolved
Priority:
Normal
Category:
Issues list & form
Target version:
Source:
Customer
Detected on version:
Blocked:
No
Alone:
Milestones:
Sprint:

Description

Started GET "/issues/context_menu*******************************" for *.*.*.* at 2017-04-05 12:11:55 +0200
Processing by ContextMenusController#issues as */*
  Parameters: {"utf8"=>"✓", "authenticity_token"=>"****************", "back_url"=>"************", "check_all"=>"", "ids"=>["3965", "3964", "3963", "3959", "3958", "3957", "3956", "3955", "3954", "3953", "3952", "3951", "3950", "3949", "3948", "3947", "3946", "3945", "3944", "3943", "3942", "3941", "3940", "3931", "3930", "3926", "3924", "3909", "3895", "3891", "3878", "3868", "3848", "3847", "3844", "3843", "3841", "3583", "3576", "3563", "3562", "3561", "3560", "3559", "3558", "3557", "3556", "3555", "3554", "3553", "3552", "3551", "3550", "3549", "3548", "3547", "3546", "3545", "3544", "3543", "3542", "3541", "3540", "3539", "3538", "3537", "3536", "3535", "3534", "3533", "3532", "3531", "3530", "3529", "3528", "3527", "3526", "3525", "3524", "3523", "3522", "3521", "3520", "3519", "3518", "3517", "3516", "3515", "3514", "3513", "3512", "3511", "3510", "3509", "3508", "3507", "3506", "3505", "3504", "3503"]}
  Current user: ********* (id=***)
  Rendered plugins/scrum/app/views/scrum_hooks/context_menus/_issues.html.erb (5.2ms)
  Rendered context_menus/issues.html.erb (5.5ms)
Completed 500 Internal Server Error in 638ms (ActiveRecord: 41.4ms)

ActionView::Template::Error (undefined method `module_enabled?' for nil:NilClass):
    1: <%- if @project.module_enabled?(:scrum) and @project.sprints.present? %>
    2:   <%- issue_ids = @issues.collect{ |issue| issue.id } -%>
    3:   <li class="folder">
    4:     <a href="#" class="submenu"><%= l(:field_sprint) %></a>
  plugins/scrum/app/views/scrum_hooks/context_menus/_issues.html.erb:1:in `_plugins_scrum_app_views_scrum_hooks_context_menus__issues_html_erb___1274687889265908022_70339692125000'
  lib/redmine/hook/view_listener.rb:59:in `block (2 levels) in render_on'
  lib/redmine/hook/view_listener.rb:57:in `map'
  lib/redmine/hook/view_listener.rb:57: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:96:in `call_hook'
  app/views/context_menus/issues.html.erb:2:in `_app_views_context_menus_issues_html_erb___2871335777137599772_70339690171120'
  app/controllers/context_menus_controller.rb:66:in `issues'
  lib/redmine/sudo_mode.rb:63:in `sudo_mode'
  plugins/redmine_dmsf/lib/redmine_dmsf/webdav/no_parse.rb:33:in `call'

Subtasks

To do #1328: Add extra check to issues list hookResolvedEmilio González MontañaActions
#1

Updated by Emilio González Montaña over 4 years ago

  • Status changed from In progress to Resolved

Also available in: Atom PDF