Project

General

Profile

Actions

Bug #56988

closed

IE8 Users can't login to backend

Added by Christian Zenker over 10 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Must have
Assignee:
Category:
Backend User Interface
Target version:
Start date:
2014-03-17
Due date:
% Done:

100%

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

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)


Related issues 1 (0 open1 closed)

Follows TYPO3 Core - Task #56356: Protect core Ajax calls against CSRFClosed2014-02-26

Actions
Actions #1

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

Actions #2

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.

Actions #3

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?

Actions #4

Updated by Christoph Lehmann over 10 years ago

The problem persists in TYPO3 6.2 LTS.

Actions #5

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
Actions #6

Updated by Alexander Opitz over 10 years ago

  • Is Regression changed from No to Yes
Actions #7

Updated by Nicole Cordes over 10 years ago

  • Status changed from New to Accepted
  • Assignee set to Nicole Cordes
Actions #8

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!

Actions #9

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?

Actions #10

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)

Actions #11

Updated by Christian Zenker over 10 years ago

[removed duplicate post]

Actions #12

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

Actions #13

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

Actions #14

Updated by Nicole Cordes over 10 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #15

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF