Bug #86662

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

Added by Tymoteusz Motylewski over 2 years ago. Updated about 1 year ago.

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

100%

Estimated time:
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)New2018-10-25

Actions
#1

Updated by Joerg Kummer over 2 years ago

Is this related to #86734?

#2

Updated by Susanne Moog over 2 years ago

  • Sprint Focus set to On Location Sprint
#3

Updated by Georg Ringer over 2 years ago

IMO not related

#4

Updated by Jasmina Ließmann over 2 years ago

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

Updated by Markus Gehrig over 1 year 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: {  }

#6

Updated by Susanne Moog over 1 year ago

  • Sprint Focus deleted (On Location Sprint)
#7

Updated by Susanne Moog over 1 year ago

  • Sprint Focus set to On Location Sprint
#8

Updated by Gerrit Code Review over 1 year 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/c/Packages/TYPO3.CMS/+/62854

#9

Updated by Daniel Goerz over 1 year ago

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

Updated by Gerrit Code Review over 1 year ago

  • Status changed from Resolved to Under Review

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/+/62859

#11

Updated by Gerrit Code Review over 1 year ago

Patch set 2 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/+/62859

#12

Updated by Daniel Goerz over 1 year ago

  • Status changed from Under Review to Resolved
#13

Updated by Benni Mack about 1 year ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF