stable
Clone or download
Read-only
fixes request #40432 Burndown: do not check cache generation when not needed
Cache should always be valid when - start date is in future - duration is 0 In both cases, we know we always want to display empty graphs Change-Id: I25ba95c86238eb23f8a7112461e13861b4b776bf
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/agiledashboard/include/AgileDashboard/FormElement/Burnup.php | +1 | −0 | Go to diff View file |
M | plugins/agiledashboard/include/AgileDashboard/FormElement/BurnupCacheChecker.php | +12 | −2 | Go to diff View file |
M | plugins/agiledashboard/include/AgileDashboard/FormElement/BurnupDataBuilder.php | +1 | −0 | Go to diff View file |
M | plugins/agiledashboard/tests/unit/AgileDashboard/FormElement/BurnupCacheCheckerTest.php | +37 | −6 | Go to diff View file |
M | plugins/tracker/include/Tracker/FormElement/Field/Burndown/BurndownCommonDataBuilder.php | +18 | −37 | Go to diff View file |
A | plugins/tracker/tests/unit/Tracker/FormElement/Field/Burndown/BurndownCommonDataBuilderTest.php | +98 | −0 | Go to diff View file |
M | src/common/Date/DatePeriod.php | +3 | −0 | Go to diff View file |
M | src/common/Date/DatePeriodWithWeekEnd.php | +5 | −0 | Go to diff View file |