Project

General

Profile

Actions

Defect #28240

open

Issue parents are getting set incorrectly

Added by Tomoko Shimizu over 6 years ago. Updated over 6 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Issues
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Affected version:

Description

It is same as Defect #27066.
---
When adding and saving a sub issue under a parent issue, the subtask appear under wrong parent.
----

In our Redmine environment, this occurs pretty often for some root_id issues have over 100 decendent issues.
We recently start running "Issues#rebuild_tree!" once a month at midnight.
But "once a month" is not enough.
"Issues#rebuild_tree!" takes over 5 hours and lockes all issues meanwhile. So running this script every day is not good.

'Issue.rebuild_single_tree!(1)' needs manual operation by redmine admins at daytime.

So preventing "issue parents is wrong(="lft" and "rgt" values of issues become wrong.)" from happening would be much better.

Environment
  • Redmine 3.2
  • Rails 4
  • Ruby 2.3
  • Issue number:about 400000

Related issues

Related to Redmine - Defect #27066: issue parents is wrongClosed

Actions
Actions

Also available in: Atom PDF