stable

Clone or download

Read-only

Raise error when @comment is used

Part of story #9882: TQL in follow-up comments If we use @comment = 'toto', then an error is raised saying that @comment is not supported. If we use @summary = 'toto', then an error is raised saying that @summary is unknown. Change-Id: I309d529224ddc531e640584225d5339ff336f018

Modified Files

Name
M plugins/tracker/include/Tracker/Report/Query/Advanced/Grammar/Field.php +5 −0 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/Grammar/Metadata.php +8 −1 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/Grammar/Searchable.php +1 −1 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidFieldsCollectorVisitor.php +15 −21 Go to diff View file
A plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidSearchableCollectorParameters.php +75 −0 Go to diff View file
A plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidSearchableCollectorVisitor.php +89 −0 Go to diff View file
M plugins/tracker/include/Tracker/Report/Tracker_Report.class.php +13 −10 Go to diff View file
M plugins/tracker/include/autoload.php +4 −2 Go to diff View file
M plugins/tracker/site-content/fr_FR/LC_MESSAGES/tuleap-tracker.po +4 −0 Go to diff View file
M plugins/tracker/site-content/tuleap-tracker.pot +4 −0 Go to diff View file
M plugins/tracker/tests/Tracker/Report/Query/Advanced/InvalidFieldsCollectorVisitorTest.php +31 −4 Go to diff View file