Project

General

Profile

Actions

Bug #86595

closed

No Language Fallback

Added by Kay Röseler over 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Must have
Category:
Localization
Target version:
-
Start date:
2018-10-08
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
9
PHP Version:
7.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Hello core team,

for a configured page with 3 languages (default: German, 2nd English, 3rd Danish) and fallback for the two additional languages set to the other language plus the default language, no fallback will be performed if the data record is only in the standard language is available.

This is the site configuration for the 3 languages:

languages:
  -
    title: Deutsch
    enabled: true
    languageId: '0'
    base: /
    typo3Language: de
    locale: de_DE.UTF-8
    iso-639-1: de
    navigationTitle: Deutsch
    hreflang: de-DE
    direction: ltr
    flag: de
  -
    title: English
    enabled: true
    languageId: '1'
    base: /en/
    typo3Language: default
    locale: en_GB.UTF-8
    iso-639-1: en
    navigationTitle: English
    hreflang: en-GB
    direction: ltr
    fallbackType: fallback
    fallbacks: '2,0'
    flag: en-us-gb
  -
    title: Danish
    enabled: true
    languageId: '2'
    base: /da/
    typo3Language: default
    locale: da-DA
    iso-639-1: da
    navigationTitle: Danish
    hreflang: da-DA
    direction: ltr
    fallbackType: fallback
    fallbacks: '1,0'
    flag: dk

Related issues 4 (0 open4 closed)

Related to TYPO3 Core - Bug #86712: config.sys_language_overlay has no effectClosed2018-10-22

Actions
Related to TYPO3 Core - Bug #86762: Site-Configuration defined language fallbacks not workingClosedAnja Leichsenring2018-10-26

Actions
Related to TYPO3 Core - Bug #89871: HrefLangGenerator: Wrong links generated with page translations that use a shortcutClosedChristian Eßl2019-12-06

Actions
Has duplicate TYPO3 Core - Bug #87121: Content fallback does not work, when page translation does not exist yetClosed2018-12-11

Actions
Actions #1

Updated by Georg Ringer over 5 years ago

  • Status changed from New to Needs Feedback

isn't that the same issue than #86597?

Actions #2

Updated by Kay Röseler over 5 years ago

Georg Ringer wrote:

isn't that the same issue than #86597?

Hello Georg, no it is not. In the course of this issue here, I noticed the other issue in troubleshooting. Even if the query is changed in the other issue, the overlay does not work.

In addition, the other issue only applies if only the default language is selected in the configuration. In the above configuration, the other issue does not occur.

Actions #3

Updated by Alexander Grein over 5 years ago

I can confirm this bug.

To reproduce:
- create a site configuration with e.g. english (0) and german (1) and configure 0 as fallback for language 1
- create a page in language 0 with some content in this default language but no translations
- open this page in frontend and switch to language 1 by adding the corresponding slug (e.g. /de/) to the url

Result:
(1/1) #1518472189 TYPO3\CMS\Core\Error\Http\PageNotFoundException
The requested page does not exist

Actions #4

Updated by Philipp Seiler over 5 years ago

  • Related to Bug #86712: config.sys_language_overlay has no effect added
Actions #5

Updated by Carsten Hülsmann over 5 years ago

Alexander Grein wrote:

I can confirm this bug.

To reproduce:
- create a site configuration with e.g. english (0) and german (1) and configure 0 as fallback for language 1
- create a page in language 0 with some content in this default language but no translations
- open this page in frontend and switch to language 1 by adding the corresponding slug (e.g. /de/) to the url

Result:
(1/1) #1518472189 TYPO3\CMS\Core\Error\Http\PageNotFoundException
The requested page does not exist

I can also confirm this. This is kind of a blocker for us at the moment.

Actions #6

Updated by Stefan Neufeind over 5 years ago

  • Related to Bug #86762: Site-Configuration defined language fallbacks not working added
Actions #7

Updated by Wittkiel Gruppe over 5 years ago

The status of this issue should be changed, i think here is already enough good feedback, if not please ask :-)

We also have this bug with current TYPO3 9.5.1:

- create a site-configuration with e.g. german (0) and english (1) and configure 0 as fallback for language 1
- create a page "test" in language 0 with some content in this default language but no translations for language 1
- language 0 http://example.com/test in frontend works
- language 1 http://example.com/en/test in frontend doesn't work, "RouteNotFoundException" is thrown in sysext/frontend/Classes/Middleware/PageResolver.php line 103


rootPageId: 1
base: 'http://example.com/'
languages:
  -
    title: Deutsch
    enabled: true
    languageId: '0'
    base: /
    typo3Language: de
    locale: de_DE.UTF-8
    iso-639-1: de
    navigationTitle: Deutsch
    hreflang: de-DE
    direction: ltr
    flag: de
  -
    title: English
    enabled: true
    languageId: '1'
    base: /en/
    typo3Language: default
    locale: en_GB.UTF-8
    iso-639-1: en
    navigationTitle: English
    hreflang: en-GB
    direction: ltr
    fallbackType: fallback
    fallbacks: '0'
    flag: gb
errorHandling: {  }
baseVariants: {  }
routes:
  -
    route: sitemap.xml
    type: uri
    source: 't3://page?uid=1&type=1533906435'

Actions #8

Updated by Helmut Hummel over 5 years ago

  • Has duplicate Bug #87121: Content fallback does not work, when page translation does not exist yet added
Actions #9

Updated by Helmut Hummel over 5 years ago

  • Status changed from Needs Feedback to Accepted
Actions #10

Updated by Anja Leichsenring about 5 years ago

  • Status changed from Accepted to In Progress
  • Assignee set to Anja Leichsenring
Actions #11

Updated by Gerrit Code Review about 5 years ago

  • Status changed from In Progress 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/59373

Actions #12

Updated by Gerrit Code Review about 5 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/59373

Actions #13

Updated by Gerrit Code Review about 5 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/59373

Actions #14

Updated by Gerrit Code Review about 5 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/59373

Actions #15

Updated by Gerrit Code Review about 5 years ago

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

Actions #16

Updated by Gerrit Code Review about 5 years ago

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

Actions #17

Updated by Gerrit Code Review about 5 years ago

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

Actions #18

Updated by Gerrit Code Review about 5 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/59675

Actions #19

Updated by Gerrit Code Review about 5 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/59675

Actions #20

Updated by Gerrit Code Review about 5 years ago

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

Actions #21

Updated by Gerrit Code Review about 5 years ago

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

Actions #22

Updated by Gerrit Code Review about 5 years ago

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

Actions #23

Updated by Gerrit Code Review about 5 years ago

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

Actions #24

Updated by Gerrit Code Review about 5 years ago

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

Actions #25

Updated by Gerrit Code Review about 5 years ago

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

Actions #26

Updated by Gerrit Code Review about 5 years ago

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

Actions #27

Updated by Gerrit Code Review about 5 years ago

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

Actions #28

Updated by Gerrit Code Review about 5 years ago

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

Actions #29

Updated by Gerrit Code Review about 5 years ago

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

Actions #30

Updated by Gerrit Code Review about 5 years ago

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

Actions #31

Updated by Gerrit Code Review about 5 years ago

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

Actions #32

Updated by Gerrit Code Review about 5 years ago

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

Actions #33

Updated by Gerrit Code Review about 5 years ago

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

Actions #34

Updated by Gerrit Code Review about 5 years ago

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

Actions #35

Updated by Gerrit Code Review about 5 years ago

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

Actions #36

Updated by Gerrit Code Review about 5 years ago

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

Actions #37

Updated by Gerrit Code Review about 5 years ago

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

Actions #38

Updated by Gerrit Code Review about 5 years ago

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

Actions #39

Updated by Gerrit Code Review about 5 years ago

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

Actions #40

Updated by Gerrit Code Review about 5 years ago

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

Actions #41

Updated by Gerrit Code Review about 5 years ago

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

Actions #42

Updated by Gerrit Code Review about 5 years ago

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

Actions #43

Updated by Gerrit Code Review about 5 years ago

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

Actions #44

Updated by Andreas Fernandez about 5 years ago

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

Updated by Benni Mack almost 5 years ago

  • Status changed from Resolved to Closed
Actions #46

Updated by Mathias Brodala over 4 years ago

  • Related to Bug #89871: HrefLangGenerator: Wrong links generated with page translations that use a shortcut added
Actions

Also available in: Atom PDF