Defect #19179

Very slow performance on editing issues when projects have inherit members checked

Added by Santi A. over 2 years ago. Updated over 1 year ago.

Status:NewStart date:
Priority:HighDue date:
Assignee:-% Done:

0%

Category:Performance
Target version:-
Resolution: Affected version:2.5.2

Description

Hi,

Recently I updated all my projects checking "Inherit members" in order to make our life easier when you have to assign groups and roles to members.
In my scenario I have a main project and by heritage I have the rest of the projects.

Case 1:
If you try to create and edit an issue in the main project all are updated smoothly.

Case 2:
If you try to create and edit an issue in a 4 level project heritage the performance becomes in a terrible slow updating.

Note: I can't reproduce this problem when a user has admin rights.

Specifications:
Redmine version: 2.5.2
Mysql version: 5.5.38
Ruby: 2.0.0p481
Rails: 3.2.19


Related issues

Related to Redmine - Patch #22850: Speedup remove_inherited_roles Closed

History

#1 Updated by Patricia Klems Crovador over 1 year ago

I have the same problem.
To create a new issue with no parent id, it is very fast.
But if i complete de information "parent id", it'll very slow.

#2 Updated by Pavel Rosick√Ĺ over 1 year ago

try this #22850

#3 Updated by Toshi MARUYAMA over 1 year ago

  • Related to Patch #22850: Speedup remove_inherited_roles added

Also available in: Atom PDF