stable

Clone or download

Read-only

prevent @comment to be search with other things than a string (NOW/MYSELF/int/float/date)

Part of story #9882: TQL in follow-up comments Following TQL queries should displays custom errors @comment = MYSELF() @command = NOW() Change-Id: I5f2d1bd5bf4f6ffc1850e5887796d62b52bb5baa

Modified Files

Name
M plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidMetadata/BetweenComparisonChecker.php +2 −1 Go to diff View file
A plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidMetadata/Comment/CommentToDateComparisonException.php +34 −0 Go to diff View file
A plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidMetadata/Comment/CommentToFloatComparisonException.php +36 −0 Go to diff View file
A plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidMetadata/Comment/CommentToIntComparisonException.php +36 −0 Go to diff View file
A plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidMetadata/Comment/CommentToMySelfComparisonException.php +34 −0 Go to diff View file
A plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidMetadata/Comment/CommentToNowComparisonException.php +34 −0 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidMetadata/EqualComparisonChecker.php +80 −2 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidMetadata/GreaterThanComparisonChecker.php +2 −1 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidMetadata/GreaterThanOrEqualComparisonChecker.php +2 −1 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidMetadata/ICheckMetadataForAComparison.php +2 −1 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidMetadata/InComparisonChecker.php +2 −1 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidMetadata/LesserThanComparisonChecker.php +2 −1 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidMetadata/LesserThanOrEqualComparisonChecker.php +2 −1 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidMetadata/NotEqualComparisonChecker.php +2 −1 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidMetadata/NotInComparisonChecker.php +2 −1 Go to diff View file
M plugins/tracker/include/Tracker/Report/Query/Advanced/RealInvalidSearchableCollectorVisitor.php +5 −1 Go to diff View file
M plugins/tracker/include/autoload.php +7 −2 Go to diff View file