stable

Clone or download

Read-only

Check that all trackers have the assigned to semantic

this is part of story #10703 define a query with "people" fields How to test: - remove the contributor semantic of one of you trackers - In the widget, select this tracker, setup a query, then validate --> An error is shown because one of the selected trackers does not have an assigned to semantic - Take another one tracker, remove its contributor semantic - In the widget, select the 2 trackers, setup a query, then validate --> An error is shown because 2 of the selected trackers do not have an assigned to Change-Id: I652fedb2596baff8689398a5729ce7f19562b8a6

Modified Files

Name
M plugins/crosstracker/include/CrossTracker/REST/v1/CrossTrackerReportsResource.php +3 −1 Go to diff View file
A plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/QueryValidation/Metadata/AssignedToIsMissingInAtLeastOneTrackerException.php +43 −0 Go to diff View file
M plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/QueryValidation/Metadata/MetadataUsageChecker.php +26 −1 Go to diff View file
M plugins/crosstracker/include/autoload.php +3 −2 Go to diff View file
M plugins/crosstracker/phpunit/CrossTracker/Report/Query/Advanced/InvalidSemantic/MetadataUsageCheckerTest.php +8 −1 Go to diff View file
M plugins/crosstracker/site-content/fr_FR/LC_MESSAGES/tuleap-crosstracker.po +21 −1 Go to diff View file
M plugins/crosstracker/site-content/tuleap-crosstracker.pot +14 −0 Go to diff View file
M plugins/tracker/include/Tracker/Semantic/dao/Tracker_Semantic_ContributorDao.class.php +25 −10 Go to diff View file