Project

General

Profile

Actions

Bug #17767

closed

Popup windows close automatically after 5 seconds

Added by Francois Suter about 17 years ago. Updated over 16 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2007-11-08
Due date:
% Done:

0%

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

Description

Using TYPO3-trunk and rtehtmlarea 1.6.2dev the following problem happens: whenever a popup window is opened by clicking on a button of the RTE (link, image, about, etc.), the window stays open for only about 5 seconds, then closes automatically and causes the frame where the editing is taking place to reload.

This happens with Firefox 2.0.0.9 (on Mac OS X) and a rather old version of Camino (another Mozilla-based browser). I will try to test with other browsers tomorrow.

When open a text content element for editing, the console reports the following:

button has no properties
(no name)()prototype.js (line 1348)
setUndoQueueLater(undefined)htmlarea_4a4d772f... (line 111)
generatePlugins(1)htmlarea_4a4d772f... (line 65)
},

When clicking on a button that pops up a window, an additional error appears in the console:

button has no properties
},

Same error is thrown again when the frame reloads.
(issue imported from #M6676)


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #18668: In TYPO3 4.1.6, RTE popup windows close automatically after 5 secondsClosedStanislas Rolland2008-04-22

Actions
Actions #1

Updated by Francois Suter about 17 years ago

The troubleshooting mode reports the following:

[HTMLArea::init]: All scripts successfully loaded.
[HTMLArea::init]: Editor url set to: /typdev/typo3/sysext/rtehtmlarea/htmlarea/
[HTMLArea::init]: Editor skin CSS set to: /typdev/typo3/sysext/t3skin/rtehtmlarea/htmlarea.css
[HTMLArea::init]: Editor content skin CSS set to: http://127.0.0.1/typdev/typo3/sysext/t3skin/rtehtmlarea/htmlarea-edited-content.css
[HTMLArea::generate]: Toolbar successfully created.
[HTMLArea::generate]: Editor iframe successfully created.
[HTMLArea::initIframe]: Iframe baseURL set to: http://127.0.0.1/typdev/typo3/
[HTMLArea::initIframe]: Skin CSS set to: http://127.0.0.1/typdev/typo3/sysext/t3skin/rtehtmlarea/htmlarea-edited-content.css
[HTMLArea::initIframe]: Override CSS set to: http://127.0.0.1/typdev/typo3temp/rtehtmlarea/defaultPageStyle_fb8430287c8611df7fc4.css
[HTMLArea::initIframe]: Content CSS set to: http://127.0.0.1/typdev/fileadmin/templates/cobweb/css/rte.css
[HTMLArea::initIframe]: Editor iframe head successfully initialized.
[HTMLArea::initIframe]: Failed attempt at loading stylesheets: [Exception... "A parameter or an operation is not supported by the underlying object" code: "15" nsresult: "0x8053000f (NS_ERROR_DOM_INVALID_ACCESS_ERR)" location: "http://127.0.0.1/typdev/typo3temp/rtehtmlarea/htmlarea_4a4d772f7462f1f08be3_compressed.js Line: 55"] Retrying...
[HTMLArea::initIframe]: Stylesheets successfully loaded.
[HTMLArea::initIframe]: Design mode successfully set.
[HTMLArea::initIframe]: All plugins successfully generated.

The popup window actually closes immediately when troubleshooting mode is on.

Actions #2

Updated by Francois Suter about 17 years ago

I can confirm the bug with Firefox 2.0.0.6 on Windows XP.

However it does not happen with IE6.

Actions #3

Updated by Stanislas Rolland about 17 years ago

It think this problem should be fixed in revision 2690 (typo3temp/rtehtmlarea needs to be cleared).

Please confirm.

Actions #4

Updated by Francois Suter about 17 years ago

Sorry, but no luck.

Here's the error in the console:

button has no properties
checkInitialLoad()
setUndoQueueLater(undefined)
generatePlugins(1)
if(HTMLArea.loadTimer)window.clearTimeout(HTMLArea.loadTimer);if(scriptsLoaded){...

And the output of the troubleshooting mode:

[HTMLArea::init]: All scripts successfully loaded.
[HTMLArea::init]: Editor url set to: /typdev/typo3/sysext/rtehtmlarea/htmlarea/
[HTMLArea::init]: Editor skin CSS set to: /typdev/typo3/sysext/t3skin/rtehtmlarea/htmlarea.css
[HTMLArea::init]: Editor content skin CSS set to: http://127.0.0.1/typdev/typo3/sysext/t3skin/rtehtmlarea/htmlarea-edited-content.css
[HTMLArea::registerPlugin]: Plugin TableOperations was successfully registered.
[HTMLArea::registerPlugin]: Plugin ContextMenu was successfully registered.
[HTMLArea::registerPlugin]: Plugin SelectColor was successfully registered.
[HTMLArea::registerPlugin]: Plugin TYPO3Browsers was successfully registered.
[HTMLArea::registerPlugin]: Plugin FindReplace was successfully registered.
[HTMLArea::registerPlugin]: Plugin RemoveFormat was successfully registered.
[HTMLArea::registerPlugin]: Plugin CharacterMap was successfully registered.
[HTMLArea::registerPlugin]: Plugin DynamicCSS was successfully registered.
[HTMLArea::registerPlugin]: Plugin Acronym was successfully registered.
[HTMLArea::registerPlugin]: Plugin TYPO3HtmlParser was successfully registered.
[HTMLArea::registerPlugin]: Plugin DefaultInline was successfully registered.
[HTMLArea::registerPlugin]: Plugin InlineCSS was successfully registered.
[HTMLArea::generate]: Toolbar successfully created.
[HTMLArea::generate]: Editor iframe successfully created.
[HTMLArea::initIframe]: Iframe baseURL set to: http://127.0.0.1/typdev/typo3/
[HTMLArea::initIframe]: Skin CSS set to: http://127.0.0.1/typdev/typo3/sysext/t3skin/rtehtmlarea/htmlarea-edited-content.css
[HTMLArea::initIframe]: Override CSS set to: http://127.0.0.1/typdev/typo3temp/rtehtmlarea/defaultPageStyle_fb8430287c8611df7fc4.css
[HTMLArea::initIframe]: Content CSS set to: http://127.0.0.1/typdev/fileadmin/templates/cobweb/css/rte.css
[HTMLArea::initIframe]: Editor iframe head successfully initialized.
[HTMLArea::initIframe]: Failed attempt at loading stylesheets: [Exception... "A parameter or an operation is not supported by the underlying object" code: "15" nsresult: "0x8053000f (NS_ERROR_DOM_INVALID_ACCESS_ERR)" location: "http://127.0.0.1/typdev/typo3temp/rtehtmlarea/htmlarea_4a4d772f7462f1f08be3_compressed.js Line: 57"] Retrying...
[HTMLArea::initIframe]: Failed attempt at loading stylesheets: [Exception... "A parameter or an operation is not supported by the underlying object" code: "15" nsresult: "0x8053000f (NS_ERROR_DOM_INVALID_ACCESS_ERR)" location: "http://127.0.0.1/typdev/typo3temp/rtehtmlarea/htmlarea_4a4d772f7462f1f08be3_compressed.js Line: 57"] Retrying...
[HTMLArea::initIframe]: Stylesheets successfully loaded.
[HTMLArea::initIframe]: Design mode successfully set.
[HTMLArea::initIframe]: All plugins successfully generated.

Actions #5

Updated by Stanislas Rolland about 17 years ago

Please try Revision 2708

Actions #6

Updated by Francois Suter about 17 years ago

Woohoo! It works again! Thanks a lot.

Actions

Also available in: Atom PDF