stable
Clone or download
Read-only
Close request #31063 Improve XML import error
When we have some errors while loading the XML content, we have to display them instead of a generic error message to help users understand where the XML content is not valid. Except that, no functional change expected. Change-Id: I8144cb3d07c95cd0429622d703fee2044ca7d066
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/agiledashboard/include/AgileDashboard/FirstScrumCreator.php | +12 | −2 | Go to diff View file |
M | plugins/agiledashboard/include/Planning/PlanningController.class.php | +18 | −14 | Go to diff View file |
M | plugins/jira_import/include/Project/CreateProjectFromJira.php | +172 | −134 | Go to diff View file |
M | plugins/jira_import/include/Project/CreateProjectFromJiraCommand.php | +27 | −7 | Go to diff View file |
M | plugins/jira_import/include/Project/ReplayCreateProjectFromJiraCommand.php | +13 | −5 | Go to diff View file |
M | plugins/jira_import/include/Project/ReplayImportCommand.php | +16 | −3 | Go to diff View file |
M | site-content/fr_FR/LC_MESSAGES/tuleap-core.po | +6 | −0 | Go to diff View file |
M | site-content/pt_BR/LC_MESSAGES/tuleap-core.po | +6 | −0 | Go to diff View file |
M | src/common/CLI/Command/ImportProjectXMLCommand.php | +13 | −4 | Go to diff View file |
M | src/common/Project/ProjectXMLImporter.class.php | +56 | −25 | Go to diff View file |
M | src/common/Project/REST/v1/ProjectCreationDataPOSTProjectBuilder.php | +39 | −32 | Go to diff View file |
M | src/common/Project/REST/v1/ProjectResource.class.php | +18 | −5 | Go to diff View file |
M | src/common/Project/REST/v1/RestProjectCreator.php | +22 | −15 | Go to diff View file |
R | src/common/Project/Registration/Template/NoTemplateProvidedException.php | Go to diff View file | ||
M | src/common/Project/XML/ConsistencyChecker.php | +27 | −21 | Go to diff View file |
A | src/common/Project/XML/InvalidXMLContentFault.php | +51 | −0 | Go to diff View file |
M | src/common/Project/XML/XMLFileContentRetriever.php | +42 | −7 | Go to diff View file |
M | tests/unit/common/Project/REST/v1/ProjectCreationDataPOSTProjectBuilderTest.php | +2 | −1 | Go to diff View file |
M | tests/unit/common/Project/REST/v1/RestProjectCreatorTest.php | +22 | −10 | Go to diff View file |
A | tests/unit/common/Project/XML/XMLFileContentRetrieverTest.php | +59 | −0 | Go to diff View file |
M | tests/unit/common/Project/XML/XMLUserGroupsTest.php | +18 | −13 | Go to diff View file |