Issue Bug Closed

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

Marc Hirdes 12/09/20, 08:14 updated 04/16/25, 18:28

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.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.

History 2

  1. Marc Hirdes changed subject Hidden record default language occurs en error for non hidden translated Hidden record of default language occurs en error for non hidden translated 12/09/20, 08:19

  2. Georg Ringer commented and changed status New Closed 04/16/25, 18:28

    hey Marc,

    that is not a bug. if the default record is hidden, the translation must not be shown.

    I am closing the issue. If you don’t agree feel free to discuss on slack!