[TYPO3-core] RFC: #10128: JavaScript error upon login

Steffen Kamper info at sk-typo3.de
Tue Nov 3 15:22:18 CET 2009


Hi,

This is SVN patch request.

Type: Bugfix

Branches: trunk

BT reference: http://bugs.typo3.org/view.php?id=10128

When "Help>About Modules" is uninstalled, the following JavaScript error 
happens during login:

$(moduleId) is null


Stack:

highlightModule()("modmenu_help_aboutmodules", 0)modulemenu.js (line 122)
goToModule()("help_aboutmodules", false, "")backend.php (line 612)
startInModule()()backend.php (line 647)
wrapper()()prototype.js (line 3877)
fire()(Document backend.php, "dom:loaded", undefined)prototype.js (line 
3972)
_methodized()()prototype.js (line 246)
fireContentLoadedEvent()prototype.js (line 4006)
- [Break on this error] $(moduleId).addClassName('highlighted');



BE relogin does not work after this error at all.

Solution:
check for module entry.

Additional Info:
The JS error occurs also without relogin. The complete concept is not 
consistent:

* js for modules is written in backend.php- If you deinstall a module, 
backend.php isn't reloaded.
* if you deinstall "about_modules" and defined this as your startup 
module, it will be shown again after login even it's not installed!

I removed the js error with the patch, but it doesn't solve mentioned 
inconsistency.

vg Steffen
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 10128.diff
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20091103/68e1c625/attachment.txt>


More information about the TYPO3-team-core mailing list