stable

Clone or download

Read-only

fix: Forbid comparison of @submitted_by and @last_update_by to empty string

Part of story #36833 search on semantics and always there fields even if not defined In this contribution, we now forbid the following comparisons: - @submitted_by = "" - @submitted_by != "" - @last_udpate_by = "" - @last_update_by != "" How to test: - The four comparisons listed above should produce an error Change-Id: I054cd84806bbb33e9d82e8007e207de5569a7038

Modified Files

Name
M plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/QueryValidation/Metadata/ArtifactSubmitterChecker.php +11 −10 Go to diff View file
M plugins/crosstracker/tests/unit/CrossTracker/Report/Query/Advanced/QueryValidation/Metadata/ArtifactSubmitterCheckerTest.php +2 −12 Go to diff View file