stable

Clone or download

Read-only

request #20940: Fatal error when creating a cumulative flow chart in a tracker report

Starting the creation of a cumulative flow chart should not generate a fatal error. This contribution also avoid the crash encountered in "request #17112 Error on preview during chart creation" Change-Id: I33059a6fd9c0abc50fe204b704d8c76cbb39946d

Modified Files

Name
M plugins/graphontrackersv5/include/Async/ChartDataController.php +47 −26 Go to diff View file
M plugins/graphontrackersv5/include/data-transformation/ChartDataBuilderV5.class.php +0 −6 Go to diff View file
A plugins/graphontrackersv5/include/data-transformation/ChartFieldNotFoundException.php +36 −0 Go to diff View file
M plugins/graphontrackersv5/include/data-transformation/GraphOnTrackersV5_Chart_BarDataBuilder.class.php +2 −3 Go to diff View file
M plugins/graphontrackersv5/include/data-transformation/GraphOnTrackersV5_Chart_PieDataBuilder.class.php +2 −3 Go to diff View file
M plugins/graphontrackersv5/include/data-transformation/GraphOnTrackersV5_CumulativeFlow_DataBuilder.class.php +12 −10 Go to diff View file
M plugins/graphontrackersv5/include/graphontrackersv5Plugin.php +5 −1 Go to diff View file
M plugins/graphontrackersv5/scripts/src/loadGraphs.js +17 −0 Go to diff View file
M plugins/graphontrackersv5/site-content/fr_FR/LC_MESSAGES/tuleap-graphontrackersv5.po +1 −1 Go to diff View file
A plugins/graphontrackersv5/tests/unit/Async/ChartDataControllerTest.php +95 −0 Go to diff View file