Project

General

Profile

Actions

Bug #49995

closed

Fail to execute onunload() at backend

Added by Yongbae Park almost 11 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2013-07-13
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.1
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

Hello. I found a bug at mod.php at Typo 3 ver. 6.1.1.

Symptom

For each selection of a menu at left hand side menu (e.g. "View"),
the iframe at the right hand side is refreshed and the onunload() event is
raised, and Ext.EventManager._unload() should be executed correspondingly.

However, depending on timing, onunload() is not defined and
an uncaught exception is raised instead. The error message is
as follows in Firefox 21:

TypeError: Ext.EventManager is undefined
…unload();h(k,g,G._unload)}};….. ext-ba…312e.js

I think the problem is that a user can click a menu before ext-all.js is loaded,
because an external script (script tag of ext-all.js in line 43 of mod.php)
makes the browser triggers an unload event in the partial page constructed up to that point.

How to reproduce the error

You can reproduce the error for the following steps:

1. Get log in TYPO3 site

2. Click “Configuration” link in left side menu in /typo3/backend.php page

3. Click “Log” link in left side menu

This bug is timing-dependent.
To observe the error in high probability,
you should make step 2 and step 3 quickly.


Files

TYPO3.wmv (1.04 MB) TYPO3.wmv Yongbae Park, 2013-10-07 17:23
Actions #1

Updated by Yongbae Park over 10 years ago

For your better understanding of the buggy scenario, I just added a video that shows an actual error execution.

http://forge.typo3.org/attachments/25139/TYPO3.wmv

After logging in, I clicked "Configuration" link at 00:19.

At 00:21, I clicked "Log" link and an error message "TypeError: Ext.EventManager is undefined" appears in Firefox console.

We also observed the same error message with Internet Explorer and Chrome.

Please let me know if you need more information to reproduce/debug this bug. Thanks.

Actions #2

Updated by Mathias Schreiber over 9 years ago

  • Target version set to 7.4 (Backend)
  • Is Regression set to No
Actions #3

Updated by Wouter Wolters over 8 years ago

  • Status changed from New to Needs Feedback

Is this still reproducable in 6.2.14 or higher?

Actions #4

Updated by Susanne Moog over 8 years ago

  • Target version changed from 7.4 (Backend) to 7.5
Actions #5

Updated by Benni Mack over 8 years ago

  • Target version deleted (7.5)
Actions #6

Updated by Wouter Wolters over 8 years ago

  • Status changed from Needs Feedback to Closed

No feedback within the last 90 days => closing this issue.

If you think that this is the wrong decision or experience this issue again, then please write to the mailing list typo3.teams.bugs with issue number and an explanation or open a new ticket and add a relation to this ticket number.

Actions

Also available in: Atom PDF