stable
Clone or download
request #9010 Export project tool must export all importable services You should be able to export and reimport a project without custom nature. In admin, artifact link nature the project is not in list of projects which can use artifact links nature. In trackers, the hierarchy is kept. You should be able to export and reimport a project with custom nature. In admin, artifact link nature the project is in list of projects which can use artifact links nature. In trackers the nature type is kept. If a nature doesn't exist on platedform it is created with its shorname for label and reverse label. We should also be able to unlink artifacts with nature (change its father) We should also be able to change nature to no nature of an artifact Change-Id: I6aac622872945db87e668f1b552cde7d346d612c
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/tracker/include/Tracker/Artifact/XMLImport.class.php | +27 | −13 | Go to diff View file |
M | plugins/tracker/include/Tracker/Artifact/XMLImport/ArtifactFieldsDataBuilder.class.php | +23 | −8 | Go to diff View file |
M | plugins/tracker/include/Tracker/Artifact/XMLImport/XMLImportFieldStrategy.class.php | +9 | −2 | Go to diff View file |
M | plugins/tracker/include/Tracker/Artifact/XMLImport/XMLImportFieldStrategyAlphanumeric.class.php | +8 | −1 | Go to diff View file |
M | plugins/tracker/include/Tracker/Artifact/XMLImport/XMLImportFieldStrategyArtifactLink.class.php | +86 | −18 | Go to diff View file |
M | plugins/tracker/include/Tracker/Artifact/XMLImport/XMLImportFieldStrategyAttachment.class.php | +9 | −1 | Go to diff View file |
M | plugins/tracker/include/Tracker/Artifact/XMLImport/XMLImportFieldStrategyComputed.php | +7 | −2 | Go to diff View file |
M | plugins/tracker/include/Tracker/Artifact/XMLImport/XMLImportFieldStrategyDate.class.php | +8 | −1 | Go to diff View file |
M | plugins/tracker/include/Tracker/Artifact/XMLImport/XMLImportFieldStrategyList.class.php | +8 | −1 | Go to diff View file |
M | plugins/tracker/include/Tracker/Artifact/XMLImport/XMLImportFieldStrategyOpenList.class.php | +8 | −1 | Go to diff View file |
M | plugins/tracker/include/Tracker/Artifact/XMLImport/XMLImportFieldStrategyPermissionsOnArtifact.class.php | +8 | −1 | Go to diff View file |
M | plugins/tracker/include/Tracker/Artifact/XMLImport/XMLImportFieldStrategyText.class.php | +8 | −1 | Go to diff View file |
M | plugins/tracker/include/Tracker/Artifact/XMLImportBuilder.class.php | +5 | −1 | Go to diff View file |
M | plugins/tracker/include/Tracker/FormElement/Field/ArtifactLink/Nature/NatureDao.php | +10 | −2 | Go to diff View file |
A | plugins/tracker/include/Tracker/FormElement/Field/ArtifactLink/Nature/NatureDontExistInPlateformException.php | +26 | −0 | Go to diff View file |
M | plugins/tracker/include/Tracker/Migration/MigrationManager.php | +5 | −1 | Go to diff View file |
M | plugins/tracker/include/Tracker/Tracker.class.php | +4 | −1 | Go to diff View file |
M | plugins/tracker/include/Tracker/XML/Exporter/ChangesetValue/ChangesetValueArtifactLinkXMLExporter.class.php | +9 | −12 | Go to diff View file |
M | plugins/tracker/include/TrackerXmlExport.class.php | +32 | −4 | Go to diff View file |
M | plugins/tracker/include/autoload.php | +3 | −2 | Go to diff View file |
M | plugins/tracker/include/trackerPlugin.class.php | +34 | −6 | Go to diff View file |
M | plugins/tracker/tests/Artifact/XMLImport/XMLImportFieldStrategyArtifactLinkTest.php | +112 | −19 | Go to diff View file |
M | plugins/tracker/tests/Artifact/XMLImport/XMLImportFieldStrategyComputedTest.php | +3 | −3 | Go to diff View file |
M | plugins/tracker/tests/Artifact/XMLImportTest.php | +34 | −8 | Go to diff View file |
M | plugins/tracker/tests/Tracker/XML/Exporter/ChangesetValue/ChangesetValueArtifactLinkXMLExporterTest.php | +0 | −27 | Go to diff View file |
M | plugins/tracker/tests/TrackerXmlExportTest.php | +19 | −1 | Go to diff View file |
M | src/common/event/Event.class.php | +8 | −0 | Go to diff View file |
M | src/common/project/ProjectXMLImporter.class.php | +25 | −0 | Go to diff View file |
A | src/common/xml/resources/nature-definition.rnc | +3 | −0 | Go to diff View file |
A | src/common/xml/resources/project/nature-definition.rng | +12 | −0 | Go to diff View file |
M | src/common/xml/resources/project/project.rnc | +2 | −0 | Go to diff View file |
M | src/common/xml/resources/project/project.rng | +6 | −0 | Go to diff View file |
M | src/utils/import_project_xml.php | +12 | −7 | Go to diff View file |
M | tests/integration/ProjectImportTest.php | +57 | −15 | Go to diff View file |
A | tests/integration/_fixtures/fake_project_with_missing_natures/project.xml | +13 | −0 | Go to diff View file |
M | tests/lib/rest/TestDataBuilder.php | +3 | −1 | Go to diff View file |