Project

General

Profile

Actions

Bug #24402

closed

too much recursion in jsfunc.layermenu.js in FF / out of memory in IE

Added by Ingo almost 14 years ago. Updated over 11 years ago.

Status:
Rejected
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2010-12-23
Due date:
% Done:

0%

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

Description

Having a TMENU_LAYERS for up to 4 Levels (with 30 Menüitems in total).
Recently Updated from Typo3 4.3.7 to 4.3.9 (2010-12-17).
Layermenu stopped working at all. Javascript Errors in Firefox and Internet Explorer, Firefox in Line 195 of jsfunc.layermenu.js, Internet Explorer reports Stack Overflow and afterwars always (at every click) "Out of Memory".

If i comment that eval in line 195 out, the menu is working (but offcourse not properly since the menus wont be hidden on mouseout, but the recursion does not happen)

if (GL_isObjCss(GLV_lastKey[WMid]) && GL_getObjCss(GLV_lastKey[WMid])) { eval('GL'+WMid+'_hideCode()'); }

the error itself however seems to originate in typo3/sysext/cms/tslib/media/scripts/tmenu_layers.php and is caused by the inline-javascript it procudes.

i had to find a solution very fast (customer a bit angry ^^) so i did a restore of the tmenu_layers.php from typo3 4.3.7 - and everything worked fine again.

have not tried the 4.3.8 version of tmenu_layers

i have some other sites that use tmenu_layers, and had them updated from 4.3.7 to 4.3.9 last week - and those are still working. so i could not reproduce it with similar sites.

i have had no other javascript inclusions at the page except thedefault (with the linkTo_UnCryptMailto function and such)
(issue imported from #M16826)


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Task #46358: Separate ext:statictemplates code from coreClosed2013-03-16

Actions
Actions #1

Updated by Christian Kuhn over 11 years ago

  • Category deleted (Communication)
  • Status changed from New to Rejected
  • Target version deleted (0)

With 6.1 issue #46358, the _layers menus where moved to statictemplates, and statictemplates was removed from core afterwards. This issue won't be solved in the core anymore.

Actions

Also available in: Atom PDF