Project

General

Profile

Actions

Bug #339

closed

Copying a project type master returns internal error

Added by liaham almost 4 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
Start date:
05/08/2021
Due date:
% Done:

100%

Estimated time:
Affected Version:
Compatible Redmine Version:

Description

Showing /home/liane/redmine/plugins/redmine_project_types_relations/app/views/project_types/_number_of_assigned_projects.html.erb where line 22 raised:

undefined method `relatives' for nil:NilClass

Extracted source (around line 44):

  def assigned_projects(project)
    project.respond_to?(:relatives) ? project.relatives : find_project_type(project).relatives
  end

  def find_project_type(project)

Trace of template inclusion: plugins/redmine_project_types/app/views/hooks/_view_projects_form_top.html.erb, app/views/projects/_form.html.erb, app/views/projects/copy.html.erb

Actions #1

Updated by Anonymous almost 4 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

Applied in changeset redmine-project-types:commit:redmine_project_types|d3d29443524e69e77100f87c827364e7f23d0e60.

Actions #2

Updated by circle_admin almost 4 years ago

  • Target version changed from unreleased to 2.0.4
Actions

Also available in: Atom PDF