Actions
Bug #19649
closedimporting translation by l10nmgr takes too long in t3lib_TCEmain::process_datamap()
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2008-11-27
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.2
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
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)
Actions