Project

General

Profile

Actions

Improvement #241

closed

Very slow rendering of subordinated project types

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

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
04/11/2021
Due date:
04/12/2021
% Done:

100%

Estimated time:
Compatible Redmine Version:

Description

Problem

Rendering subordinated project types takes a lot of time. This is due to a dependency check running on each page request.

The depenency check runs for each project type in the choice set. It checks whether the project type has some hosts and counts them. The result is displayed right below each project type. If project type has at least one host project the check box is disabled. This procedure should protect all other mechanism depending on the project types relations.

Solution

There are two possible solutions:

  • Avoid the check to be run for all project types in the choice set. Run the check only for selected project types.
  • Run the check as validation only if there is a change in the project type selection.

Related issues 1 (0 open1 closed)

Related to Redmine Project Types Relations - Improvement #222: Throw an error message for unallowed changes in the project type subordinateClosedliaham04/03/2021

Actions
Actions #1

Updated by liaham almost 4 years ago

  • Assignee set to liaham
Actions #2

Updated by liaham almost 4 years ago

  • Related to Improvement #222: Throw an error message for unallowed changes in the project type subordinate added
Actions #3

Updated by liaham almost 4 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100
Actions #4

Updated by liaham almost 4 years ago

  • Target version changed from unreleased to 2.0.1
Actions

Also available in: Atom PDF