stable
Clone or download
Read-only
Widget cross tracker search should not prevent user to update query when it has suspended projects in query
part of story #12160 - have a clean way to suspend a project This patch apply for widget administrator and regular user, in order to ease reviews, the part for regular user will be done in a dedicated commit. The alignement of behaviour between suspended and deleted project will also be done later How to test: - create a cross tracker search query and save it - change the status of on of its project to suspended => on widget an error is displayed indicating that all rpojects are not active => user can't export to CSV tracker report results => user should be able to edit/save the query without error => suspended project is not listed in the tracker of query Change-Id: Idaa64ec2d16c50b9530d79df6593aa6e4881ec5c
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/crosstracker/include/CrossTracker/Permission/CrossTrackerPermissionGate.php | +10 | −1 | Go to diff View file |
M | plugins/crosstracker/include/CrossTracker/REST/v1/CrossTrackerReportRepresentation.php | +12 | −2 | Go to diff View file |
M | plugins/crosstracker/include/CrossTracker/REST/v1/CrossTrackerReportsResource.php | +11 | −0 | Go to diff View file |
M | plugins/crosstracker/scripts/cross-tracker/po/fr.po | +9 | −0 | Go to diff View file |
M | plugins/crosstracker/scripts/cross-tracker/po/template.pot | +6 | −0 | Go to diff View file |
M | plugins/crosstracker/scripts/cross-tracker/src/CrossTrackerWidget.vue | +18 | −3 | Go to diff View file |
A | plugins/crosstracker/scripts/cross-tracker/src/components/ErrorInactiveProjectMessage.vue | +39 | −0 | Go to diff View file |
M | plugins/crosstracker/scripts/cross-tracker/src/components/ExportCSVButton.vue | +4 | −2 | Go to diff View file |
M | plugins/crosstracker/scripts/cross-tracker/src/store/getters.js | +2 | −0 | Go to diff View file |
M | plugins/crosstracker/scripts/cross-tracker/src/store/mutations.js | +11 | −1 | Go to diff View file |
M | plugins/crosstracker/scripts/cross-tracker/src/store/state.js | +2 | −1 | Go to diff View file |
M | plugins/crosstracker/tests/rest/CrossTracker/CrossTrackerTest.php | +4 | −2 | Go to diff View file |