Andreas K
Andreas K

Reputation: 23

TYPO3 Extbase localized ID from DataMapper does not map in PropertyMapper

I have migrated a site with a big Extbase Extension to TYPO3 v12 and now I'm running into a big problem / inconsistency between the Extbase DataMapper and the PropertyMapper.

Based on this change https://review.typo3.org/c/Packages/TYPO3.CMS/+/75093 the DataMapper now returns uid and localized id as identifier:

$identifier = $row['uid'] . (isset($row['_LOCALIZED_UID']) ? '_' . $row['_LOCALIZED_UID'] : '');

The fluid viewhelper for selectboxes now renders those values as uid_localizeduid (f.e. <option value="1_24">Edilizia / immobiliare</option>)

So far so good but it seems that there is a inconsistency with the PropertyMapper. When I'm editing a record in the frontend now and try to save it via Extbase I get the following problem:

Exception while property mapping at property path "branche": The identity property "17_59" is no UID.

Is there a new setting I'm missing that I should set in my TCA/Repository or is this a bug (somebody else reported it too: https://forge.typo3.org/issues/105319). I suspect it must be a migration error from my side as it seems nobody else ran into this problem?

Upvotes: 0

Views: 49

Answers (0)

Related Questions