Actions
Defect #28240
openIssue parents are getting set incorrectly
Defect #28240:
Issue parents are getting set incorrectly
Status:
New
Priority:
Normal
Assignee:
-
Category:
Issues
Target version:
-
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
Actions