#94941Exports via export tools sometimes contain previous exports
Description
When I used the export tool to make an export the exported data was saved at public/fileadmin/user_upload/_temp_/importexport
On the next export all files from public/fileadmin/user_upload/_temp_ and their sys_file entries also got exported. Therefore the export contained the previous export as files and grew bigger and bigger…
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.
Fix this issue
Start the commit message of your patch with this. Add what the patch does, and the versions it goes to in "Releases:". How to create a patch
- Commit message
-
[FEATURE] Exports via export tools sometimes contain previous exports Resolves: #94941 Releases: main
Related issues 1
History 8
-
Alexander Nitsche changed description <span data-processor="relativetime" data-value="2021-08-20T08:31:17+00:00" > 08/20/21, 08:31 </span>
-
Alexander Nitsche changed Related to #92526 <span data-processor="relativetime" data-value="2021-08-20T08:31:29+00:00" > 08/20/21, 08:31 </span>
-
Alexander Nitsche commented <span data-processor="relativetime" data-value="2021-08-23T15:10:24+00:00" > 08/23/21, 15:10 </span>
-
Alexander Nitsche commented <span data-processor="relativetime" data-value="2021-08-23T19:02:25+00:00" > 08/23/21, 19:02 </span>
The outdated sys_file records get even included into the export dump, if they are marked as missing. This is due to a missing match in
\TYPO3\CMS\Impexp\Export::exportAddRecord
=>
\TYPO3\CMS\Impexp\ImportExport::isRecordDisabledwhich checks, if the record got disabled according to its TCA disabled column definition. In most tables this is column “hidden” but table “sys_file” does not have any disabled column configuration. Is this a bug? Check for the requirement to prevent inclusion of missing sys_file dataset into the export dump.
-
Georg Ringer changed Sprint Focus On Location Sprint <span data-processor="relativetime" data-value="2024-06-21T06:24:34+00:00" > 06/21/24, 06:24 </span>
-
Marcus Bieber commented and changed tracker
FeatureBug PHP Version 8.3 TYPO3 Version 12 <span data-processor="relativetime" data-value="2024-08-05T08:54:51+00:00" > 08/05/24, 08:54 </span>I don’t know if this is related.
I have got a fresch TYPO3 12.4.17 Version.
If I try to export from Root (ID:0) I also get the same Error(1/1) #1551950301 TYPO3\CMS\Core\Resource\Exception\InvalidHashException Hash has to be non-empty string. -
Marcus Bieber changed tracker
BugFeature TYPO3 Version12PHP Version8.3<span data-processor="relativetime" data-value="2024-08-05T08:55:51+00:00" > 08/05/24, 08:55 </span> -
Georg Ringer changed Sprint Focus
On Location Sprint<span data-processor="relativetime" data-value="2026-08-06T15:48:12+00:00" > 08/06/26, 15:48 </span>
In addition, previous exports are often deleted manually in the file system, and leave the sys_file record point to a non-existing file which can break the next export, e.g. when exporting the root of the page tree, with: