Project

General

Profile

Actions

Bug #61943

closed

Fix JavaScript error that prevents links to anchor tags in RTE

Added by Michael Schams over 9 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
RTE (rtehtmlarea + ckeditor)
Target version:
Start date:
2014-09-29
Due date:
% Done:

100%

Estimated time:
1.00 h
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
easy
Is Regression:
Yes
Sprint Focus:

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:

  1. create/edit a "text" content element
  2. add two sentences
  3. make the second one an anchor tag (screenshot0001.png shows the HTML source code view)
  4. highlight one or two words in the first sentence
  5. click "insert link" icon (see screenshot0002.png)
  6. popup appears (see screenshot0003.png)
  7. click the little arrow to show content elements of a page (1)
  8. content elements of selected page appear right-hand-side
  9. select the anchor tag ('test') (2)
  10. 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

screenshot0001.png (31.4 KB) screenshot0001.png Michael Schams, 2014-09-29 11:48
screenshot0002.png (28.8 KB) screenshot0002.png Michael Schams, 2014-09-29 11:48
screenshot0003.png (38.6 KB) screenshot0003.png Michael Schams, 2014-09-29 11:48
screenshot0004.png (31.5 KB) screenshot0004.png Michael Schams, 2014-09-29 11:48

Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #41413: link title got urlencoded in link-wizardClosed2012-09-27

Actions
Related to TYPO3 Core - Bug #61968: Revert #61943Closed2014-09-30

Actions
Actions #1

Updated by Gerrit Code Review over 9 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

Actions #2

Updated by Markus Klein over 9 years ago

  • Priority changed from Should have to Must have
  • Is Regression changed from No to Yes
Actions #3

Updated by Gerrit Code Review over 9 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

Actions #4

Updated by Tymoteusz Motylewski over 9 years ago

3.1 save the record :)

Actions #5

Updated by Gerrit Code Review over 9 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

Actions #6

Updated by Markus Klein over 9 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

Actions #7

Updated by Michael Schams over 9 years ago

  • Status changed from Accepted to Resolved
  • % Done changed from 0 to 100
Actions #8

Updated by Gerrit Code Review over 9 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

Actions #9

Updated by Markus Klein over 9 years ago

New patch is now correctly targeted to 6.2+ again.

Actions #10

Updated by Gerrit Code Review over 9 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

Actions #11

Updated by Michael Schams over 9 years ago

  • Status changed from Under Review to Resolved
Actions #12

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF