Bug #80217

CKeditor: No valid handlers found for type: tel

Added by Philipp Faber over 2 years ago. Updated 9 months ago.

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

100%

TYPO3 Version:
8
PHP Version:
7.0
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

When using

<a href="tel:+4912345">+49 123 456</a>

an error is shown:

No valid handlers found for type: tel


Related issues

Related to TYPO3 Core - Bug #80903: Relative links with old <link> syntax are not converted to <a href> in upgrade wizard and not supported in ckeditor or linkfields New 2017-04-20

Associated revisions

Revision 78affb44 (diff)
Added by Benni Mack about 2 years ago

[BUGFIX] Allow arbitrary protocols in new LinkService

Since TYPO3 v8 it is not possible to simply create a link to "tel:+491727144385" anymore,
which was possible in TYPO3 v7. Instead an exception is thrown as the "toString()" method
cannot handle legacy links which have no specific type.

The patch checks for a "url" attribute allowing to represent a URL and to render a link via typolink.

Resolves: #80217
Releases: master, 8.7
Change-Id: I617e280295b4789a8c295f5ee21463a643e58afc
Reviewed-on: https://review.typo3.org/52617
Tested-by: TYPO3com <>
Reviewed-by: Mattias Nilsson <>
Tested-by: Mattias Nilsson <>
Reviewed-by: Sascha Egerer <>
Tested-by: Mona Muzaffar <>
Reviewed-by: Wouter Wolters <>
Tested-by: Wouter Wolters <>

Revision 8b295834 (diff)
Added by Benni Mack about 2 years ago

[BUGFIX] Allow arbitrary protocols in new LinkService

Since TYPO3 v8 it is not possible to simply create a link to "tel:+491727144385" anymore,
which was possible in TYPO3 v7. Instead an exception is thrown as the "toString()" method
cannot handle legacy links which have no specific type.

The patch checks for a "url" attribute allowing to represent a URL and to render a link via typolink.

Resolves: #80217
Releases: master, 8.7
Change-Id: I617e280295b4789a8c295f5ee21463a643e58afc
Reviewed-on: https://review.typo3.org/52684
Tested-by: TYPO3com <>
Reviewed-by: Wouter Wolters <>
Tested-by: Wouter Wolters <>

History

#1 Updated by Riccardo De Contardi over 2 years ago

  • Category set to RTE (rtehtmlarea + ckeditor)

#2 Updated by Patrick no-lastname-given about 2 years ago

  • Priority changed from Should have to Must have

#3 Updated by Patrick no-lastname-given about 2 years ago

  • Target version set to next-patchlevel

#4 Updated by Patrick no-lastname-given about 2 years ago

This can be fixed via add a new type in class LinkService in "typo3/sysext/core/Classes/LinkHandling/LinkService.php".

Tel links are also removed after upgrade from v7 LTS to v8 LTS, maybe via LegacyLinkNotationConverter.

#5 Updated by Samuel Heinz about 2 years ago

Philipp Faber wrote:

When using
[...]
an error is shown:

No valid handlers found for type: tel

+1

Is it a configuration problem in the new linkhandler or is it a missing feature in TYPO3 8 LTS?
Would be great to found a working solution soon.

Best regards
Sam

#6 Updated by Gerrit Code Review about 2 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 https://review.typo3.org/52611

#7 Updated by Gerrit Code Review about 2 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/52611

#8 Updated by Gerrit Code Review about 2 years ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/52611

#9 Updated by Gerrit Code Review about 2 years ago

Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/52611

#10 Updated by Gerrit Code Review about 2 years ago

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/52617

#11 Updated by Gerrit Code Review about 2 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/52617

#12 Updated by Gerrit Code Review about 2 years ago

Patch set 1 for branch TYPO3_8-7 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/52684

#13 Updated by Benni Mack about 2 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

#14 Updated by Markus Klein 10 months ago

  • Related to Bug #80903: Relative links with old <link> syntax are not converted to <a href> in upgrade wizard and not supported in ckeditor or linkfields added

#15 Updated by Benni Mack 9 months ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF