Actions
Bug #22789
closedCalls to t3lib_befunc::translationCount slow down backend
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
Actions