Bug #86623

tt_content - error when language content set to -1

Added by Chris no-lastname-given 2 months ago. Updated about 1 month ago.

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

100%

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 language New 2018-11-22
Related to TYPO3 Core - Bug #87067: Add support for language -1 to TCA field type slug Under Review 2018-12-03

Associated revisions

Revision d70b6f51 (diff)
Added by Georg Ringer about 1 month ago

[BUGFIX] Skip language -1 in preview url generation

Resolves: #86623
Releases: master
Change-Id: Ic7e6c8dd5b7232f2ee2e3f84664b25835e782677
Reviewed-on: https://review.typo3.org/58612
Tested-by: TYPO3com <>
Reviewed-by: Raphael Graf <>
Tested-by: Raphael Graf <>
Reviewed-by: Alexander Grein <>
Tested-by: Alexander Grein <>
Reviewed-by: Anja Leichsenring <>
Tested-by: Anja Leichsenring <>

History

#1 Updated by Georg Ringer 2 months ago

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

#2 Updated by Gerrit Code Review 2 months 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 2 months 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 2 months 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 2 months 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 about 2 months 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 about 2 months 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 about 1 month ago

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

#9 Updated by Chris no-lastname-given 16 days ago

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

#10 Updated by André Schließer 6 days ago

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

Also available in: Atom PDF