Project

General

Profile

Actions

Bug #33504

closed

Form Wizard not loading in IE8

Added by Sebastian Schawohl almost 13 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Form Framework
Target version:
-
Start date:
2012-01-27
Due date:
% Done:

100%

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

Description

With Internet Explorer 8, when I want to load the form wizard I get a blank page.

I get two JavaScript errors :

First

Message : Identifier, string or number expected
Line : 2171
Character : 6
in JavaScript compressed file

Lines 2165 to 2175 are (2171 is line 7 below) :

    constructor: function(config) {
        Ext.apply(this, {
            configuration: {
                attributes: {
                    accesskey: '',
                    alt: '',
                    class: '',
                    dir: '',
                    disabled: '',
                    id: '',
                    lang: '',

Second

Message : 'TYPO3.Form.Wizard' is Null or is not an object.
Line : 178
in file /typo3/sysext/form/Classes/Controller/Wizard.php

Line 178 of rendered Wizard.php is :

TYPO3.Form.Wizard.Settings = {

Of course the JavaScript compressed file is included before line 178 as shown in Wizard.php.html file.


Files

Wizard.php.html (45.5 KB) Wizard.php.html Wizard.php HTML code Sebastian Schawohl, 2012-01-27 19:51
compressed.js (299 KB) compressed.js Compressed JavaScript included in Wizard.php Sebastian Schawohl, 2012-01-27 19:51
bug_33504.diff (11.3 KB) bug_33504.diff Sebastian Schawohl, 2012-01-30 14:28
Actions #1

Updated by Sebastian Schawohl almost 13 years ago

It seems that IE8 doesn't like reserved words as property name and class is one of them.

Please find a patch for that.
All class properties become "class" which work for me on IE8, and still work on another browsers.

With this patch the form wizard loads fine now.

Actions #2

Updated by Gerrit Code Review almost 13 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/8776

Actions #3

Updated by Gerrit Code Review almost 13 years ago

Patch set 2 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/8776

Actions #4

Updated by Gerrit Code Review almost 13 years ago

Patch set 3 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/8776

Actions #5

Updated by Gerrit Code Review over 12 years ago

Patch set 4 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/8776

Actions #6

Updated by Gerrit Code Review about 12 years ago

Patch set 1 for branch TYPO3_4-7 has been pushed to the review server.
It is available at http://review.typo3.org/15882

Actions #7

Updated by Gerrit Code Review about 12 years ago

Patch set 1 for branch TYPO3_4-6 has been pushed to the review server.
It is available at http://review.typo3.org/15883

Actions #8

Updated by Sebastian Schawohl about 12 years ago

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

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF