Unable to change the due date on an issue when updating
This is related to defect #10727. When updating an issue the Due Date is greyed out and cannot be changed. Due dates can change or even be entered incorrectly. In this case no error is generated the user (all the way up to the administrator) is not allowed to change the value.
#1 Updated by Del Texley about 10 years ago
A bit more information and probably not a defect, but a feature. The issue with the incorrect Due Date has a sub-issue. The due date on the sub-issue CAN be changed, it's just the parent issue that cannot be altered. You can delete the child issue, or remove the "Parent Task" hook to enable the Due Date field but it also removes the dates that were originally assigned. I would not expect "unhooking" two issues to remove the dates from the parent issue as well.
#3 Updated by Del Texley about 10 years ago
I agree that the parent issue should not have an earlier due date than the child issue. The problem(s) for me are:
1) a (new) child issue that blocks the parent issue from resolution might require the parent issue to have the due date change.
2) the parent issue loses it's dates if the child issue is detached (ie incorrectly attached or determined to be non-related).
Hope that helps.
#9 Updated by Felix Bünemann almost 6 years ago
This issue is likely due to corrupted lft / rgt nodes, so that the issue is not detected as a leaf. I am pretty sure there are concurrency or error handling issues around writing the lft / rgt values in the awesome_nested_set implementation, because these corruptions happen in our db every couple of months.