Bug #86662

Exception "Language 40 does not exist on site site1" when entering the list view (BE)

Added by Tymoteusz Motylewski about 1 year ago. Updated about 2 months ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
Link Handling, Site Handling & Routing
Target version:
-
Start date:
2018-10-15
Due date:
% Done:

0%

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

Description

I have a page which is translated to language uid:40.
Unfortunatelly the language is not yet configured in the site handling module.
When you enter the list view of the page, an exception 1522960188 is thrown "Language 40 does not exist on site site1."
Because TYPO3 tries to generate a preview link for this translated page.

I see that some exceptions are caught in 2696 of BackendUtility, but not this particular exception.


Related issues

Related to TYPO3 Core - Bug #86745: Error in backend module 'list' after deleting a site language (not default language) New 2018-10-25

History

#1 Updated by Joerg Kummer about 1 year ago

Is this related to #86734?

#2 Updated by Susanne Moog about 1 year ago

  • Sprint Focus set to On Location Sprint

#3 Updated by Georg Ringer about 1 year ago

IMO not related

#4 Updated by Jasmina Ließmann about 1 year ago

  • Related to Bug #86745: Error in backend module 'list' after deleting a site language (not default language) added

#5 Updated by Markus Gehrig about 2 months ago

I have the same Error in the Frontend. (Version: TYPO3 9.5.9)

(1/1) #1522960188 InvalidArgumentException
Language 3 does not exist on site

Site Configuration:

rootPageId: 1
base: 'http://www.example.local'
languages:
  -
    title: Deutsch
    enabled: true
    languageId: '0'
    base: /de/
    typo3Language: de
    locale: de_CH.UTF-8
    iso-639-1: de
    navigationTitle: DE
    hreflang: de-ch
    direction: ltr
    flag: de
  -
    title: Italienisch
    enabled: true
    languageId: '3'
    base: /it/
    typo3Language: it
    locale: it_CH.UTF-8
    iso-639-1: it
    navigationTitle: IT
    hreflang: it-ch
    direction: ltr
    fallbackType: free
    fallbacks: '0'
    flag: it
  -
    title: Englisch
    enabled: true
    languageId: '1'
    base: /en/
    typo3Language: default
    locale: en_GB.UTF-8
    iso-639-1: en
    navigationTitle: EN
    hreflang: en-gb
    direction: ltr
    fallbackType: free
    fallbacks: '0'
    flag: gb
  -
    title: Französisch
    enabled: true
    languageId: '2'
    base: /fr/
    typo3Language: fr
    locale: fr_CH.UTF-8
    iso-639-1: fr
    navigationTitle: FR
    hreflang: fr-ch
    direction: ltr
    fallbackType: free
    fallbacks: '0'
    flag: fr
errorHandling: {  }
baseVariants:
  -
    base: 'http://www.example.local'
    condition: 'applicationContext == "Development"'
  -
    base: 'http://dev.example.ch.cabvs0XX.nine.ch'
    condition: 'applicationContext == "Development/Remote"'
  -
    base: 'http://example.cabvs0XX.nine.ch'
    condition: 'applicationContext == "Production"'
routes: {  }

Also available in: Atom PDF