stable

Clone or download

Read-only

Remove 'start_date' and 'duration' fallbacks

Now that the semantic is for everyone, we should not have anymore default behavior. Have a tracker with start_date, duration, another_start_date and another_duration. Semantic timeframe is set to another_start_date and another_duration. You have burndown chart in your artifact. Now, remove the burndown chart, unset the semantic, and readd the burndown chart. => The artifact should not display a burndown chart based on start_date and duration fields. (You will probably have to force regeneration of graph). => The semantic timeframe does not says that it defaults to start_date and duration. Part of story #12537 configure my burndown/up & sprint with a start date & end date Change-Id: I048bcc8e576e423240b606d8daf961b1b2eceba7

Modified Files

Name
M plugins/agiledashboard/include/AgileDashboard/FormElement/BurnupDao.php +11 −29 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/FormElement/SystemEvent/SystemEvent_BURNUP_GENERATE.php +10 −5 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/ChartConfigurationFieldRetriever.php +5 −16 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/SystemEvent/SystemEvent_BURNDOWN_GENERATE.php +10 −5 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/dao/Tracker_FormElement_Field_BurndownDao.class.php +10 −27 Go to diff View file
M plugins/tracker/include/Tracker/Semantic/Timeframe/SemanticTimeframe.php +0 −21 Go to diff View file
M plugins/tracker/include/Tracker/Semantic/Timeframe/TimeframeBuilder.php +4 −13 Go to diff View file
M plugins/tracker/phpunit/Tracker/Semantic/Timeframe/SemanticTimeframeTest.php +0 −34 Go to diff View file
M plugins/tracker/phpunit/Tracker/Semantic/Timeframe/TimeframeBuilderTest.php +92 −233 Go to diff View file
M plugins/tracker/site-content/fr_FR/LC_MESSAGES/tuleap-tracker.po +1 −11 Go to diff View file
M plugins/tracker/templates/timeframe-semantic/timeframe-semantic-admin.mustache +0 −9 Go to diff View file