stable
Clone or download
Read-only
Part of story #39019 Switch mode in Cross tracker search widget As SELECT and WHERE are mandatory, we should reject empty query *Testing:* - In your XTS widget in expert mode, try creating an empty query -> it should be rejected with a clear error message - In API explorer, try PUT /cross_tracker_reports/{id} with an empty query and report_mode set to 'expert' -> it should be rejected with a clear error message - Default mode should not change Change-Id: I43f0aad404b60e5336000727f52a7921d9d524cf
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/crosstracker/include/CrossTracker/REST/v1/CrossTrackerReportsResource.php | +7 | −0 | Go to diff View file |
M | plugins/crosstracker/include/CrossTracker/Report/CrossTrackerArtifactReportFactory.php | +3 | −1 | Go to diff View file |
A | plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/ExpertQueryIsEmptyException.php | +29 | −0 | Go to diff View file |
M | plugins/crosstracker/site-content/fr_FR/LC_MESSAGES/tuleap-crosstracker.po | +3 | −0 | Go to diff View file |
M | plugins/crosstracker/site-content/pt_BR/LC_MESSAGES/tuleap-crosstracker.po | +3 | −0 | Go to diff View file |