stable
Clone or download
Read-only
request #7347: Tv3 export to Tv5: migration is to restrictive, should not stop creating when something cannot be imported
Now, the import will try to: * Create a fake initial changeset if the first abort * Continue to create changesets if one abort (the missing one is lost) * Create changeset with all possible valid data (if there are invalid data, they are skipped) Change-Id: I3de9889b4e3d4c1ec4a8f6241b1441ff893bd5a2
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/tracker/include/Tracker/Artifact/Exception/CannotCreateNewChangeset.class.php | +1 | −1 | Go to diff View file |
M | plugins/tracker/include/Tracker/Artifact/Tracker_ArtifactCreator.class.php | +1 | −6 | Go to diff View file |
M | plugins/tracker/include/Tracker/Artifact/Tracker_ArtifactFactory.class.php | +5 | −1 | Go to diff View file |
M | plugins/tracker/include/Tracker/Artifact/XMLImport.class.php | +18 | −6 | Go to diff View file |
M | plugins/tracker/include/Tracker/Artifact/XMLImport/ArtifactFieldsDataBuilder.class.php | +28 | −1 | Go to diff View file |
R | plugins/tracker/include/Tracker/Artifact/XMLImport/Exception/FileNotFound.class.php | Go to diff View file | ||
A | plugins/tracker/include/Tracker/Artifact/XMLImport/Exception/NoAttachementsException.class.php | +25 | −0 | Go to diff View file |
M | plugins/tracker/include/Tracker/Artifact/XMLImport/XMLImportFieldStrategyAttachment.class.php | +7 | −2 | Go to diff View file |
M | plugins/tracker/include/autoload.php | +4 | −3 | Go to diff View file |
M | plugins/tracker/tests/Artifact/XMLImportTest.php | +226 | −42 | Go to diff View file |
M | src/common/include/Response.class.php | +6 | −0 | Go to diff View file |