stable

Clone or download

Read-only

request #24236 On expert query, search can fail if the searched user doesn't submitted artifact

On expert query, search can fail if the searched user doesn't submitted artifact, even if the user is registered to Tuleap or project member. The query return "The value 'tlp1234771' doesn't exist for the list field 'submitted_by'." when it should work without result. If there is other criterion, it breaks the whole search. Change-Id: I75c428b656619fbc2c5db376dcb9458d17d49122

Modified Files

Name
M plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidFields/EqualComparisonVisitor.php +5 −3 Go to diff View file
A plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidFields/ListFields/ArtifactSubmitterChecker.php +60 −0 Go to diff View file
A plugins/tracker/include/Tracker/Report/Query/Advanced/InvalidFields/ListFields/SubmittedByUserDoesntExistException.php +39 −0 Go to diff View file
M plugins/tracker/site-content/fr_FR/LC_MESSAGES/tuleap-tracker.po +8 −0 Go to diff View file
A plugins/tracker/tests/unit/Tracker/Report/Query/Advanced/InvalidFields/ArtifactSubmitterCheckerTest.php +81 −0 Go to diff View file