Project

General

Profile

Actions

Bug #22789

closed

Calls to t3lib_befunc::translationCount slow down backend

Added by Susanne Moog over 14 years ago. Updated about 11 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2010-06-02
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.3
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

If you have lot of content elements on a page and view it in the page module (Web>Page) it renders very slowly because of multiple calls to the function translationCount (which is called regardless of available alternative languages). #22341 already adds the index (for 4.4) - but the function should not be called if it's not needed - which is most of the time:

It gets called to render the message that appears in the alert box if you press "delete element". So the message is needed only when it's actually pressed, but no need to render e.g. 70 messages and call the function 70 times if you don't delete any element in the end.

(issue imported from #M14592)


Files

14592.diff (5.06 KB) 14592.diff Administrator Admin, 2010-06-05 15:16

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #22341: Missing key on l18n parent in tt_content tableClosedChristian Kuhn2010-03-29

Actions
Actions

Also available in: Atom PDF