stable
Clone or download
Read-only
Closes request #37923 Create project from archive should not fail on missing link types
How to test: - Export a project as an archive - In project.xml, add a new nature in <natures> tag. e.g <nature><![CDATA[my_custom_nature]]></nature> - Make a new archive with the change project.xml - Import this archive via the UI by using "From project template upload" card => You are redirect to the new project after some time and a success mail is reiceved - Import the project via the CLI => No change expected, the import is not possible Note: if you have 2 tuleap instances, you can create a new artifact link nature and export the project from the first instance and import the archive in the second instance. Change-Id: Ib453209792194fed9402d6ffc05c627d5a72382d
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/agiledashboard/include/agiledashboardPlugin.php | +21 | −1 | Go to diff View file |
M | src/common/CLI/Command/ImportProjectXMLCommand.php | +2 | −0 | Go to diff View file |
A | src/common/Project/Event/ProjectXMLImportFromArchiveTemplatePreChecksEvent.php | +41 | −0 | Go to diff View file |
A | src/common/Project/Event/ProjectXMLImportPreChecks.php | +31 | −0 | Go to diff View file |
M | src/common/Project/Event/ProjectXMLImportPreChecksEvent.php | +5 | −13 | Go to diff View file |
M | src/common/Project/ImportFromArchive.php | +3 | −0 | Go to diff View file |
M | src/common/Project/ProjectXMLImporter.class.php | +3 | −2 | Go to diff View file |
M | src/common/Project/Registration/Template/Upload/ExtractArchiveAndCreateProject.php | +3 | −0 | Go to diff View file |
M | tests/lib/Stubs/Project/ImportFromArchiveStub.php | +1 | −0 | Go to diff View file |