Bug #17008
closedScript hangs by editing in Firefox Browser 2.0
0%
Description
On editing a text with an integrated hyperlink (correction) in the htmlarea-Editor the script hangs after deleting a character. After a while the browser reports, that a script is on work and maybe it doesen't response anymore (and asks to stop the script).
The same procedure in IE 7 works properly.
(issue imported from #M5019)
Files
Updated by Oliver Hader almost 18 years ago
Which version of RTEhtmlarea and TYPO3 are you using? Are you using a TER version or the system extension delivered with the TYPO3 Core?
Updated by Tujetsch almost 18 years ago
Sorry, forgot the technical details:
Runs under typo3 4.04 with the system extension.
Updated by Stanislas Rolland about 16 years ago
I cannot reproduce this behaviour with latest trunk. Do you still encounter this issue?
Updated by Sven Teuber about 16 years ago
I can confirm the issue for Firefox 3.0.3 / Windows with:
TYPO3 4.1.7, HTMLArea 1.5.6
TYPO3 4.2.1, HTMLArea 1.7.5
To reproduce the error:
- Put any URL into the Clipboard
- Open a text element, type some text and paste the URL to the editor
- In 1.7.5, due to the behaviour that the pasted URL is not automatically transformed into a linked element, use the link wizard to link the text to the pasted URL
- Place the cursor somewhere in the Linktext and add / remove some chars.
The RTE will freeze. After a few seconds, Firefox claims that there is a misbehaving script and asks if it should be stopped.
The script is /typo3temp/rtehtmlarea_htmlarea_[hash]-compressed.js:1
or, uncompressed:
/typo3temp/rtehtmlarea_htmlarea_[hash].js:769 (1.5.6)
/typo3temp/rtehtmlarea/htmlarea_[hash].js:945 (1.7.5)
Funny thing is, I added an alert(callbackFunc); in Line 945 - there is no alert, but just the crash. Strange.
Updated by Sven Teuber about 16 years ago
TYPO3 4.2.2, HTMLArea 1.7.6 has the same bug.
Updated by Stanislas Rolland about 16 years ago
Strange. There must be some other condition because I cannot reproduce this issue with FF3.0.3 and TYPO3 4.2.2.
Updated by Stanislas Rolland about 16 years ago
ok. I was able to repoduce this. It seems to happen if you hold a key down within a link for sometime.
Updated by Stanislas Rolland about 16 years ago
Please try the attached patch for branch TYPO3_4-2 or trunk.
Note: After applying the patch, you need to delete all files from directory typo3temp/rtehtmlarea and clear the browser cache.
Updated by Stanislas Rolland about 16 years ago
Committed to SVN TYPO3core branch TYPO3_4-2 (revision 4344) and trunk (revision 4345).