Project

General

Profile

Actions

Bug #1788

closed

xmera Omnia - Collection #1775: Fix smaller bugs in some components

undefined method `[]' for nil:NilClass params[:project][:project_type_id].to_i

Added by liaham over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
Affected Version:
Compatible Redmine Version:

Description

A NoMethodError occurred in projects#create:

  undefined method `[]' for nil:NilClass

          params[:project][:project_type_id].to_i
                          ^^^^^^^^^^^^^^^^^^
  plugins/redmine_project_types/lib/project_types/extensions/projects_controller_patch.rb:45:in `project_type_id'
  plugins/redmine_project_types/lib/project_types/overrides/projects_controller_patch.rb:49:in `create'
  lib/redmine/sudo_mode.rb:61:in `sudo_mode'
Actions #1

Updated by liaham over 1 year ago

  • Status changed from New to In Progress
Actions #2

Updated by liaham over 1 year ago

  • Status changed from In Progress to Closed
  • % Done changed from 0 to 100
Actions #3

Updated by liaham over 1 year ago

  • Affected Version 4.3.2 added
  • Affected Version deleted (4.3.1)
Actions #4

Updated by liaham over 1 year ago

  • Affected Version 4.3.1 added
  • Affected Version deleted (4.3.2)
Actions #5

Updated by liaham over 1 year ago

  • Target version changed from unreleased to 4.3.2
Actions

Also available in: Atom PDF