Story #58777: Fixes/Tasks for impexp / distributions
Catch all errors on adding files of sys_files to export
Adding files from sys_file records is not robust enough.
E.g. if there are sys_file records, but no related files anymore, what
could happen for files in /uploads/tx_foo till #58967 is fixed a RuntimeException
Solution: catch all Exceptions thrown from Resources in export_addSysFile
Updated by Armin Vieweg over 6 years ago
I've tested it, now I get this warning in ImpExp module:
Core: Error handler (BE): PHP Warning: fileperms(): stat failed for /var/www/vhosts/.../htdocs/htdocs in /var/www/t3sources/typo3_src-6.2.2/typo3/sysext/core/Classes/Resource/Driver/LocalDriver.php line 1097
And for every time I open the ImpExp module again (for root node) another warning appears:
In this example I've opened the module six times. I've also opened it on other pages, then it works. But when I switch back to root, a new warning appears additionally.