Project

General

Profile

Defect #1199

Error on new issue on all projects issues page

Added by Johan GUILBAUD (TIBCO) about 8 years ago. Updated about 8 years ago.

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

Description

Hello,
on page with all issues from all projects : http://<host>/issues and clicking on "new issue": http://<host>/issues/new Internal Error appears

In the production.log :

ActionView::Template::Error (undefined method `module_enabled?' for nil:NilClass):
    1: <%- if @project.module_enabled?(:scrum) -%>
    2:   <div class="splitcontent">
    3:     <div class="splitcontentleft">
    4:       <p>
  plugins/scrum/app/views/scrum_hooks/issues/_form.html.erb:1:in `_plugins_scrum_app_views_scrum_hooks_issues__form_html_erb__2660277928333012030_70066810751020'

the bug seems to be cause of there is no project selected

thanks by advance

Environment:
  Redmine version                3.3.0.stable.15582
  Ruby version                   2.3.1-p112 (2016-04-26) [x86_64-linux]
  Rails version                  4.2.6
  Environment                    production
  Database adapter               Mysql2
SCM:
  Subversion                     1.8.10
  Git                            2.1.4
  Filesystem                     
Redmine plugins:
  scrum                          0.14.0

Subtasks

To do #1205: Find bug & fix itResolvedEmilio González MontañaActions

Also available in: Atom PDF