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 by Patrick no-lastname-given over 2 years ago. Updated 8 months ago.

Status:
New
Priority:
Must have
Assignee:
Category:
Link Handling, Site Handling & Routing
Start date:
2017-04-20
Due date:
% Done:

0%

TYPO3 Version:
8
PHP Version:
7.2
Tags:
Complexity:
Is Regression:
Sprint Focus:
On Location Sprint

Description

It seems that relative links in richtext and text fields with old <link> syntax are not converted to <a href> in upgrade wizards row updater task "Scan for old "<link>" syntax in richtext and text fields and update to "<a href>"".

We have a multidomain environment with a data pool of pages. This pages are referenced in different domains (own pages with referenced contents from the data pool pages).
In the data pool there are content elements (teasers), the teasers have relative links to this pages. The teasers are also referenced in different domains.

You want to link the pages in the teasers at the same time for all domains, without linking any page to there own page id.
Here we use relative links like <a href="microsite123/>Deeplink</a>. This links are stored in database like <link microsite123/>Deeplink</link>.
The upgrade wizard task ignores this links. In frontend this links are rendered, but in ckeditor this links are not visible or not rendered from database. So the backend user doesn't know if there is a link or not.

It would be nice if the upgarde wizard taks convert this links to.

Also it would be nice if TYPO3 supports the tel: link protocol or simply allow links with tel in rte. See Issue https://forge.typo3.org/issues/80217

Thanks!


Related issues

Related to TYPO3 Core - Epic #84726: Initiative: URL Routing Integration / Site Handling Closed 2018-04-15
Related to TYPO3 Core - Bug #80217: CKeditor: No valid handlers found for type: tel Closed 2017-03-09

History

#1 Updated by Patrick no-lastname-given over 2 years ago

  • Subject changed from Relative links in old <link> syntax are not converted to <a href> in upgrade wizard to Relative links with old <link> syntax are not converted to <a href> in upgrade wizard

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

  • Category changed from RTE (rtehtmlarea + ckeditor) to Install Tool

Relative links like "microsite/" are also not implemented in the new link fields, but this is maybe a further issue.

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

Update: It seems that the old internal-link handling is also dropped in rte_ckeditor. Its not possible to set relative/realurl links (no aliases) to internal pages in a multidomain environment like descripted above. The old rte links are rendered in frontend via legacy link converter, but new links can not set, ckeditor or the core linkservice can not handle relative links without any url scheme.

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

  • Category changed from Install Tool to RTE (rtehtmlarea + ckeditor)

#5 Updated by Patrick no-lastname-given over 2 years ago

  • Subject changed from Relative links with old <link> syntax are not converted to <a href> in upgrade wizard to Relative links with old <link> syntax are not converted to <a href> in upgrade wizard and not supported in ckeditor or linkfields

#6 Updated by Patrick no-lastname-given over 2 years ago

Problem summary:
- old relative internal links not converted to new link syntax in ckeditor, in frontend they converted
- relative internal links are not supported in ckeditor / url linkhandler
- url linkhandler adds scheme to every link (relative internal links and external links)
- url linkhandler adds backend domain to every link without scheme
- url linkhandler adds _blank target value to every link, if extTarget is set in constants (relative internal links and external links)

Are there any plans for relative links in v8 LTS?

#7 Updated by Patrick no-lastname-given over 2 years ago

  • Category changed from RTE (rtehtmlarea + ckeditor) to Link Handling, Site Handling & Routing
  • Assignee set to Benni Mack

#8 Updated by Steffen G/G about 2 years ago

When will this bug be fixed? It's a must have to be able to set internal links in rte/ckeditor.

#1460629247: No valid handlers found for type: unknown
TYPO3\CMS\Core\LinkHandling\Exception\UnknownLinkHandlerException thrown in file
typo3/sysext/core/Classes/LinkHandling/LinkService.php in line 154.

#9 Updated by Patrick no-lastname-given over 1 year ago

  • PHP Version changed from 7.0 to 7.2

#11 Updated by Markus Klein over 1 year ago

  • Related to Epic #84726: Initiative: URL Routing Integration / Site Handling added

#12 Updated by Markus Klein over 1 year ago

  • Related to Bug #80217: CKeditor: No valid handlers found for type: tel added

#13 Updated by Susanne Moog about 1 year ago

  • Sprint Focus set to On Location Sprint

#14 Updated by Benni Mack 8 months ago

  • Target version changed from next-patchlevel to Candidate for patchlevel

Also available in: Atom PDF