Bug #87835

Nothing rendered for cross-domain links on translated page.

Added by R3 H6 9 months ago. Updated 9 months ago.

Status:
New
Priority:
Must have
Assignee:
-
Category:
Link Handling, Site Handling & Routing
Target version:
-
Start date:
2019-03-04
Due date:
% Done:

0%

TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Sitetree:

+ mars.ddev.local (Rootpage) [en, de]
+ Test [en, de]
+ jupiter.ddev.local (Rootpage) [en]

Create a standard text content element on page "Test".
Link a word in bodytext to the page "jupiter". Translate content element.

In default language the link is generated as expected: jupiter.ddev.local.
On the translated page nothing is rendered, even not the link text is left.

History

#1 Updated by R3 H6 9 months ago

PageLinkBuilder::generateUrlForPageWithSiteConfiguration throws "The target page does not have a language with ID 1 configured in its site configuration.".

#2 Updated by Benni Mack 9 months ago

hmm, what would you expect? that it falls back to the default language?

TYPO3 v9 with site handling behaves the same way as `config.linkVars = L`, where the L parameter would be added at any time.

The same behaviour actually would happen if you link to a non-translated page within the same site.

#3 Updated by R3 H6 9 months ago

Yes, it should fallback to default language.
This issue is may releated to #22113.

According my opinion, a solution should be found which is comprehensible for editors.
The current behavior, not linking and even delete the linked word, is not.

Also available in: Atom PDF