stable

Clone or download

Read-only

request #9842 TQL fatal error on DepthValidator when queries are too complex

To resolve the fatal error we calculate the tree size instead of the tree depth. Change-Id: I3564883d102467714c4736eccfeae9859e904ef7

Modified Files

Name
M plugins/tracker/db/install.sql +2 −2 Go to diff View file
A plugins/tracker/db/mysql/updates/2017/201701091557_update_default_limit_in_report_config.php +50 −0 Go to diff View file
D plugins/tracker/include/Tracker/Report/Query/Advanced/Grammar/DepthValidatorVisitor.php +0 −107 Go to diff View file
R plugins/tracker/include/Tracker/Report/Query/Advanced/Grammar/LimitDepthIsExceededException.php Go to diff View file
R plugins/tracker/include/Tracker/Report/Query/Advanced/Grammar/DepthValidatorParameters.php Go to diff View file
A plugins/tracker/include/Tracker/Report/Query/Advanced/Grammar/SizeValidatorVisitor.php +107 −0 Go to diff View file
M plugins/tracker/include/Tracker/Report/TrackerReportConfigController.php +6 −1 Go to diff View file
M plugins/tracker/include/Tracker/Report/Tracker_Report.class.php +12 −15 Go to diff View file
M plugins/tracker/include/autoload.php +5 −5 Go to diff View file
M plugins/tracker/templates/siteadmin-config/tracker-report-config.mustache +1 −0 Go to diff View file
R plugins/tracker/tests/Tracker/Report/Query/Advanced/Grammar/DepthValidatorTest.php Go to diff View file