dev

Clone or download

Read-only

request #7342 Tv3 export to Tv5: migration abort when files are deleted on file system

As we are running in a single process, there is no need to export to zip archive we can just refer to files where they are on file system Change-Id: I57c7f18e8561d202b02d850980571a88177eab9e

Modified Files

Name
M plugins/tracker/include/Tracker/Artifact/XMLImport.class.php +10 −1 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/XMLImport/ArtifactFieldsDataBuilder.class.php +8 −2 Go to diff View file
A plugins/tracker/include/Tracker/Artifact/XMLImport/Exception/FileNotFound.class.php +25 −0 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/XMLImport/XMLImportFieldStrategyAttachment.class.php +30 −15 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_File.class.php +7 −4 Go to diff View file
M plugins/tracker/include/Tracker/Migration/MigrationManager.php +13 −27 Go to diff View file
M plugins/tracker/include/autoload.php +3 −2 Go to diff View file
M plugins/tracker/tests/Artifact/XMLImportTest.php +31 −11 Go to diff View file
A plugins/tracker/tests/Artifact/_fixtures/.keepme +0 −0 Go to diff View file
M src/common/autoload.php +4 −2 Go to diff View file
M src/common/tracker/ArtifactAttachmentXMLExporter.class.php +3 −52 Go to diff View file
A src/common/tracker/ArtifactAttachmentXMLLinker.class.php +59 −0 Go to diff View file
A src/common/tracker/ArtifactAttachmentXMLZipper.class.php +76 −0 Go to diff View file
M src/utils/TrackerV3-data-exporter.php +1 −1 Go to diff View file
M tests/simpletest/common/tracker/ArtifactXMLExporterTestPHP53.php +1 −1 Go to diff View file