Bug #86623

tt_content - error when language content set to -1

Added by Chris no-lastname-given over 2 years ago. Updated about 2 years ago.

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

100%

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

Description

I've found a problem regarding language handling for tt_content elements in 9 LTE version.

Problem is connected with a Feature: #85164 Available languages respects site configuration settings [[https://docs.typo3.org/typo3cms/extensions/core/Changelog/9.4/Feature-85164-AvailableLanguagesRespectsSiteConfigurationSettings.html]]

Reproduction steps:
Setup any "Site configuration" with at least one language for a TYPO3 website.
Change language for tt_content to "All [-1]"

Exception will appear #1522960188 InvalidArgumentException. Language -1 does not exist on site ...


Related issues

Related to TYPO3 Core - Bug #86972: All Language Content Element are not displayed in default languageClosed2018-11-22

Actions
Related to TYPO3 Core - Bug #87067: Add support for language -1 to TCA field type slugClosed2018-12-03

Actions
#1

Updated by Georg Ringer over 2 years ago

  • Category changed from Localization to Link Handling, Site Handling & Routing
  • Status changed from New to Accepted
#2

Updated by Gerrit Code Review over 2 years ago

  • Status changed from Accepted 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/58612

#3

Updated by Gerrit Code Review over 2 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/58614

#4

Updated by Gerrit Code Review over 2 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/58614

#5

Updated by Gerrit Code Review over 2 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/58614

#6

Updated by Gerrit Code Review over 2 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/58612

#7

Updated by Chris no-lastname-given over 2 years ago

On the related issue. When language is set to -1, content element won't display in FE in default language.

#8

Updated by Georg Ringer over 2 years ago

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

Updated by Chris no-lastname-given over 2 years ago

  • Related to Bug #86972: All Language Content Element are not displayed in default language added
#10

Updated by André Buchmann over 2 years ago

  • Related to Bug #87067: Add support for language -1 to TCA field type slug added
#11

Updated by Benni Mack about 2 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF