openproject icon indicating copy to clipboard operation
openproject copied to clipboard

Handle different treatment of date setting when new due < start

Open oliverguenther opened this issue 3 years ago • 3 comments

Unset start and duration if selecting a new finish date < start through the today link or datepicker.

https://community.openproject.org/wp/44191

oliverguenther avatar Sep 19 '22 08:09 oliverguenther

I found a bug in scenario 13 : If start date is not set, then it does not work as expected

image

I pushed a failing test case for it.

cbliard avatar Sep 19 '22 13:09 cbliard

It made the feature test "reverses the dates if the selected date is before the current start date" fail, for obvious reason. The special Scenario 13 is in contradiction with the failing test.

cbliard avatar Sep 21 '22 14:09 cbliard

Correct, this spec is no longer valid with the new scenarios. I've removed it. Should be good to merge now

oliverguenther avatar Sep 21 '22 15:09 oliverguenther