Project

General

Profile

Actions

Bug #19649

closed

importing translation by l10nmgr takes too long in t3lib_TCEmain::process_datamap()

Added by Jigal van Hemert almost 16 years ago. Updated about 11 years ago.

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 #1

Updated by Tolleiv Nietsch over 15 years ago

you might want to have a look at the v4-branch of the l10nmgr on http://forge.typo3.org/projects/show/extension-l10nmgr

Actions #2

Updated by Alexander Opitz over 11 years ago

  • Status changed from New to Needs Feedback
  • Target version deleted (0)

The issue is very old, does this issue exists in newer versions of TYPO3 CMS (4.5 or 6.1)?

Actions #3

Updated by Alexander Opitz about 11 years ago

  • Status changed from Needs Feedback to Closed
  • Is Regression set to No

No feedback for over 90 days.

Actions

Also available in: Atom PDF