Bug #61943
closedFix JavaScript error that prevents links to anchor tags in RTE
100%
Description
If you try to create a link to an anchor tag (<a name="..."></a>
) in the RTE, a JavaScript errors prevents the creation of the link.
SyntaxError: missing ) after argument list return link_typo3Page('11','#test';
How to reproduce:
- create/edit a "text" content element
- add two sentences
- make the second one an anchor tag (screenshot0001.png shows the HTML source code view)
- highlight one or two words in the first sentence
- click "insert link" icon (see screenshot0002.png)
- popup appears (see screenshot0003.png)
- click the little arrow to show content elements of a page (1)
- content elements of selected page appear right-hand-side
- select the anchor tag ('test') (2)
- JavaScript error appears (see screenshot0004.png)
As a consequence, no link is created.
It seems that this issue is a RTE issue. However, the bug is in EXT:recordlist (system extension).
Files
Updated by Gerrit Code Review about 10 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/33020
Updated by Markus Klein about 10 years ago
- Priority changed from Should have to Must have
- Is Regression changed from No to Yes
Updated by Gerrit Code Review about 10 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/33020
Updated by Gerrit Code Review about 10 years ago
Patch set 1 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/33055
Updated by Markus Klein about 10 years ago
- Status changed from Under Review to Accepted
- Target version set to next-patchlevel
Both patches for master and 6.2 are reverted: See #61968
Updated by Michael Schams about 10 years ago
- Status changed from Accepted to Resolved
- % Done changed from 0 to 100
Applied in changeset 9bcebec002224bbc2a0dcd38cff032a14f2e075e.
Updated by Gerrit Code Review about 10 years ago
- Status changed from Resolved to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/33061
Updated by Markus Klein about 10 years ago
New patch is now correctly targeted to 6.2+ again.
Updated by Gerrit Code Review about 10 years ago
Patch set 1 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/33067
Updated by Michael Schams about 10 years ago
- Status changed from Under Review to Resolved
Applied in changeset e9ac1705aaf1303a06fef8f28ecf463429d8286a.