stable

Clone or download

Read-only

fix: force reconnection to db during artifact import

If the XML file to import is huge (`389MB` archive including `241M` of xml and file attachments), then the import stops itself during the process. It looks like forcing the reconnection at each imported artifact allows to complete the import. request #31084 already allows to import huge XML, but it is not enough with attachments. Closes request #31112: Tuleap must be able to import huge XML files Change-Id: I3d7786b765f415d634361018f72f7972cbdd26da

Modified Files

Name
M plugins/tracker/include/Tracker/Artifact/XMLImport.class.php +2 −0 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/XMLImportBuilder.class.php +2 −1 Go to diff View file
M plugins/tracker/include/Tracker/Tracker.class.php +2 −1 Go to diff View file
M plugins/tracker/tests/unit/Artifact/Tracker_Artifact_XMLImportTest.php +55 −2 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Artifact/XmlImportTest.php +8 −2 Go to diff View file