Bug #22789
closedCalls to t3lib_befunc::translationCount slow down backend
0%
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
Updated by Dmitry Dulepov over 14 years ago
I would cache results of that function in a static variable... And have a combined MySQL index for all interesting columns.
Updated by Susanne Moog over 14 years ago
The attached patch replaces the delet alert box with an extJS confirmation window using ExtDirect to fetch the message (and the translation count) on demand after clicking delete.
Updated by Alexander Opitz over 11 years ago
- Status changed from New to Needs Feedback
- Target version deleted (
0)
What is the state of this issue, already fixed in newer TYPO3 CMS versions?
Updated by Alexander Opitz about 11 years ago
- Is Regression set to No
No response in over 3 month so closing this issue.
If you think this issue should be reopened, then write to the bugs mailing list.
Updated by Alexander Opitz about 11 years ago
- Status changed from Needs Feedback to Closed