Feature #104740
openExclude tables when copying a page record in the backend
0%
Description
When a page is copied, all tables that the current user has access to are copied.
For an admin, array_keys($GLOBALS['TCA']) is used to determine the list of tables to copy.
When an extension creates log records, e.g. for form submissions, this may lead to errors or copying a lot of records that should rather be skipped.
You might argue that you can make the storage page configurable, but then the user needs to take care of that as well - or you will probably store the logs of two different forms in the same storage record.
Thus i'd like to propose either a new TCA setting that can then be used to filter the result of \TYPO3\CMS\Core\DataHandling\DataHandler::getAllowedTablesToCopyWhenCopyingAPage so that you can easily skip all those log tables etc. by configuration, or an event that gets the $copyTablesArray handed over.
No data to display