Bug #24467
closedLinking overrides existing links
0%
Description
We encountered the following problem with the RTE after the last security updates to TYPO3 (4.4.5, 4.3.9). But maybe this error existed before, not sure.
Steps to reproduce:
- Create a new content element of type text
- Type the Word "Lorem", hit enter, type the word "ipsum" (result as expected: two paragraphs with one word in it are created)
- Now select the second (!) word and link it to e.g. "www.ipsum.ch" and save the content element (result as expected after linking and saving: the word "ipsum" is linked)
- Select the upper word ("Lorem") and link it to e.g. "www.lorem.ch" and confim in the linking dialog
Expected behaviour: The word "Lorem" is linked and the link on the word "ipsum" is untouched
Seen Behaviour:
The word "Lorem" is staying as is, without any link. But instead, the word "ipsum" get's the link to "www.lorem.ch" attached
This seems to be a Javascript issue, since no saving is needed in the last step to reproduce the issue.
This could be reproduced on a 4.4.6 and a 4.3.10 installation of TYPO3 in IE8 - it works fine in Firefox. No Javascript errors seen in IE8.
(issue imported from #M16907)
Files
Updated by Stanislas Rolland almost 14 years ago
IE seems to be unable to restore its bookmark after links included in the selection are cleaned away.
Attached patch fixes the issue by cleaning only any link icons (when configured).
Updated by Stanislas Rolland almost 14 years ago
@internezzo ag ag: please test the attached patch. You should clear the RTE cache (using the BE Clear cache menu) after applying the patch.
Patch for trunk should apply to TYPO3 4.4.
Updated by Stanislas Rolland almost 14 years ago
There were still problems with link editing in IE.
New patch was uploaded on issue 0017160.