Bug #72962

Epic #72584: sysext:impexp

Avoid garbage upon failed import

Added by Bernhard Kraft over 5 years ago. Updated over 3 years ago.

Should have
Import/Export (T3D)
Target version:
Start date:
Due date:
% Done:


Estimated time:
TYPO3 Version:
PHP Version:
Is Regression:
Sprint Focus:


When importing a large page structure any exception which could possibly get thrown will result in an abort of the import. All records which got inserted into the database until then could end up on a wrong page, link to wrong elements, etc. as relations between records are only updated after all records got inserted. The same is true for an import which got aborted because of a PHP script timeout.

This bugfix resolves the problem by introduction DB transactions via the DatabaseConnection class. In the case of a failed import all statements are rolled back and newly created files will get removed.


Updated by Gerrit Code Review over 5 years ago

  • Status changed from New to Under Review

Patch set 1 for branch TYPO3_7-6 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/46262


Updated by Benni Mack about 5 years ago

  • Target version changed from 7.6.3 to Candidate for patchlevel

Updated by Markus Klein about 4 years ago

  • Status changed from Under Review to New
  • Target version deleted (Candidate for patchlevel)

Updated by Riccardo De Contardi over 3 years ago

  • Parent task set to #72584

Also available in: Atom PDF