Project

General

Profile

Actions

Bug #93034

open

Hidden record of default language occurs en error for non hidden translated

Added by Marc Hirdes almost 4 years ago. Updated almost 4 years ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
Extbase
Target version:
-
Start date:
2020-12-09
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
9
PHP Version:
7.4
Tags:
slug, translation, language, error, hidden
Complexity:
Is Regression:
Sprint Focus:

Description

Disable a record with translation in the default language only and then try to view the translated one.

You'll get an error in the frontend.

Object of type Clickstorm\CsMyExt\Domain\Model\MyModel with identity "499" not found.

The error occurs, because from the route enhancer you'll receive the uid from the default language record (499), not the translated one.

Actions

Also available in: Atom PDF