Project

General

Profile

Actions

Bug #86662

closed

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

Added by Tymoteusz Motylewski over 5 years ago. Updated about 4 years 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 1 (0 open1 closed)

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

Actions
Actions #1

Updated by Joerg Kummer over 5 years ago

Is this related to #86734?

Actions #2

Updated by Susanne Moog over 5 years ago

  • Sprint Focus set to On Location Sprint
Actions #3

Updated by Georg Ringer over 5 years ago

IMO not related

Actions #4

Updated by Jasmina Ließmann over 5 years ago

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

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

Actions #6

Updated by Susanne Moog over 4 years ago

  • Sprint Focus deleted (On Location Sprint)
Actions #7

Updated by Susanne Moog over 4 years ago

  • Sprint Focus set to On Location Sprint
Actions #8

Updated by Gerrit Code Review over 4 years 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

Actions #9

Updated by Daniel Goerz over 4 years ago

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

Updated by Gerrit Code Review over 4 years 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

Actions #11

Updated by Gerrit Code Review over 4 years 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

Actions #12

Updated by Daniel Goerz over 4 years ago

  • Status changed from Under Review to Resolved
Actions #13

Updated by Benni Mack about 4 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF