#19649importing translation by l10nmgr takes too long in t3lib_TCEmain::process_datamap()
Description
Importing a large XML translation file with L10N Manager fails because of exceeding the maximum execution time limit.
I suspect that the problem is in the calls:
tx_l10nmgr_l10nBaseService::saveTranslation() -> tx_l10nmgr_l10nBaseService::_submitContentAndGetFlexFormDiff() -> t3lib_TCEmain::process_datamap() -> t3lib_TCEmain::process_cmdmap() -> t3lib_TCEmain::localize() -> t3lib_TCEmain::copyRecord()
In t3lib/class.t3lib_tcemain.php in the process_datamap() function on line 630 a foreach loop processes each element in the data set passed by L10N Manager.
Even for a site with a few dozen pages this process takes too long to finish before the maximum execution time is exceeded.
(issue imported from #M9848)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.