IE8 Users can't login to backend
From what I understand IE8 is still (kind of) supported, right?
When a user logs in to the backend with IE8 they won't see anything but a white page caused by the following JS exception:
Webpage error details User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.2; Trident/4.0; .NET CLR 1.1.4322) Timestamp: Mon, 17 Mar 2014 11:47:38 UTC Message: Expected identifier Line: 3956 Char: 61 Code: 0 URI: http://example.com/typo3temp/compressor/merged-0409cb80b420cef16c8b514e2b382dbb-940cefcae7e07458d2dc490c43c14753.1395047044.js Message: 'TYPO3.state.ExtDirectProvider' is null or not an object Line: 135 Char: 4 Code: 0 URI: http://example.com/typo3/backend.php
The error occurs here
Regression from #56356.
Also I used the following regexp to look for similar issues, but did not find any:
[BUGFIX] Enable backend login for Internet Explorer 8 users
Due to some mystical IE8 behavior the global TYPO3 object gets reset
not but it seems IE8 creates a new object. This patch adds the global
initialization of the TYPO3 object by using window syntax.
Reviewed-by: Alexander Opitz
Tested-by: Alexander Opitz
Reviewed-by: Markus Klein
Tested-by: Markus Klein
#2 Updated by Christian Zenker over 5 years ago
seems that there is another issue once this is solved:
Webpage error details User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.2; Trident/4.0; .NET CLR 1.1.4322) Timestamp: Mon, 17 Mar 2014 12:35:31 UTC Message: 'TYPO3.settings.ModuleMenu' is null or not an object Line: 528 Char: 1 Code: 0 URI: http://example.com/typo3temp/compressor/merged-566ed042fb17d3b12ffba15783e9555f-970fed07969008aa5e4d700e577dfcf6.1395059229.js Message: 'TYPO3.state.ExtDirectProvider' is null or not an object Line: 135 Char: 4 Code: 0 URI: http://example.com/typo3/backend.php
I did a little bit of debugging (IE8 and "debugging" - haha) and this one is really confusing. TYPO3.settings.ModuleMenu is set correctly in the HTML Source Code, but it seems to get lost somewhere. It could be something like reported on stackoverflow but I don't have more time to look in that more deeply atm. Sorry.
#9 Updated by Christoph Lehmann over 5 years ago
With and without the patched line i get the same errors:
Details zum Fehler auf der Webseite Benutzer-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0) Zeitstempel: Thu, 27 Mar 2014 14:08:59 UTC Meldung: 'TYPO3.settings.ajaxUrls' ist Null oder kein Objekt Zeile: 521 Zeichen: 1 Code: 0 URI: http://example.com/typo3temp/compressor/merged-c035b0be7e7bf6ac7a2bd02425f41cf0-d7a6c2c44e91fc9fecf20d0a848b2947.js?1395929217 Meldung: 'TYPO3.state.ExtDirectProvider' ist Null oder kein Objekt Zeile: 134 Zeichen: 4 Code: 0 URI: http://example.com/typo3/backend.php
i deleted typo3temp/Cache, in the install tool all files from the compressor folder and the browser cache. Did i miss something?