Bug #17767
closedPopup windows close automatically after 5 seconds
0%
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)
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.
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.
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.
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.
Updated by Francois Suter about 17 years ago
Woohoo! It works again! Thanks a lot.