Bug #86623

tt_content - error when language content set to -1

Added by Chris no-lastname-given 7 days ago. Updated 4 days ago.

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

0%

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 ...

History

#1 Updated by Georg Ringer 7 days ago

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

#2 Updated by Gerrit Code Review 7 days 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 7 days 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 7 days 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 7 days 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 6 days 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 4 days ago

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

Also available in: Atom PDF