Defect #16896

Updated by Toshi MARUYAMA over 7 years ago

h4. Problem

There seems to be a check missing on the start date and end dates of a subitem if a parent with a "follows" relation is added to the subitem.

h4. Here are a few key features of Redmine to keep in mind in relation to this Defect:

* Parent items inherit the min Start Date from subitems, as well as max End Dates from subitems
* How Precedes and Follows relations work as shown here: [[RedmineIssues]]

h4. Below you will find the steps to reproduce in which I have tried to describe to the best of my ability.

Steps to Reproduce:

# Create 3 Issues in a project (Issue 1, Issue 2, Issue 3)
# Make Issue 1 Parent item of Issue 2
# Add a relation: Issue 3 *precedes* Issue 1
# Test the following: set issue 2 at an earlier start date than issue 3's start date -- this should throw an error as expected when you press "submit".
# Now, change Issue 2's Start Date back to the original accepted Start Date.
# Clear the Parent Field from Issue 2 and press submit
# Set Issue 2 to an earlier start date than Issue 3 and press submit
# Again Make Issue 1 Parent item of Issue 2 and press submit. -- notice how the invalid start date is accepted here
# You will notice that Issue 1 has had its start date changed to the invalid one as well as it inherits the min start date from its subitem Issue 2.

Feel free to let me know if you would like me to elaborate on anything/have any questions.