Bug #56988
closedIE8 Users can't login to backend
100%
Description
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
TYPO3.settings.ShortcutMenu.delete.ajaxUrl
delete
is a reserved word in JavaScript and causes problems in IE8 (and lower) only.
Regression from #56356.
Also I used the following regexp to look for similar issues, but did not find any:
(?<=\.)(brake|case|catch|continue|debugger|default|delete|do|else|finally|for|function|if|in|instanceof|new|return|switch|this|throw|try|typeof|var|void|while|with)(?!\w)
Updated by Gerrit Code Review over 10 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/28463
Updated by Christian Zenker over 10 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.
Updated by Helmut Hummel over 10 years ago
- Status changed from Under Review to Needs Feedback
The structure of the ajax urls has been improved.
Can you check if the problem persists for you?
Updated by Christoph Lehmann over 10 years ago
The problem persists in TYPO3 6.2 LTS.
Updated by Alexander Opitz over 10 years ago
- Status changed from Needs Feedback to New
- Priority changed from Should have to Must have
- Target version changed from 6.2.0 to next-patchlevel
Updated by Alexander Opitz over 10 years ago
- Is Regression changed from No to Yes
Updated by Nicole Cordes over 10 years ago
- Status changed from New to Accepted
- Assignee set to Nicole Cordes
Updated by Helmut Hummel over 10 years ago
Christoph Lehmann wrote:
The problem persists in TYPO3 6.2 LTS.
Can you please post the exact error messages here?
TYPO3.settings.ModuleMenu dosen't exist any more in 6.2.0
Thanks!
Updated by Christoph Lehmann over 10 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?
Updated by Christian Zenker over 10 years ago
I can confirm the error message from Christoph - I get exactly the same one (tested on saucelabs)
Updated by Gerrit Code Review over 10 years ago
- Status changed from Accepted to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/28929
Updated by Gerrit Code Review over 10 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/28929
Updated by Nicole Cordes over 10 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 45a91e62a1308a2c6b239b03f3deafd822781f90.