Issue Bug Closed

#106494f:form.select ViewHelper cannot properly match combined identities

Garvin Hicking 04/02/25, 11:02 updated 12/02/25, 14:22

Description

Extbase `<f:form>` editing with relations to localized records<br>utilizes a `[defaultLanguageRecordUid]_[localizedRecordUid]` identity<br>scheme.</f:form>

The two methods `SelectViewHelper->getOptionValueScalar()` and
`AbstractFormFieldViewHelper->convertToPlainValue()` access
these recrods with an compound identity like this, and return
their full identity string.

This however fails, when for example a model’s property with
persisted localized records is checked against matching these
identities, and where just the defaultLanguageRecordUid is
expected (for a “is selected” check).

This can be reproduced with a modified blog_example from issue #106493

Reviews 4