Review main Merged

72102[BUGFIX] Handle localizeReferencesAtParentLocalization for group/db

Christian Kuhn CR +2 V +2 Hard +276 −12 updated 11/10/21, 22:40

Commit message

TCA config property 'localizeReferencesAtParentLocalization'
for database relations is only handled with type=select
having a 'foreign_table' defined.

With the similar type=group, this is only handled if
'foreign_table' is set, which is odd since group is based
on 'allowed' over 'foreign_table'.

The change adapts DataHandler to consider 'allowed' with
type=group tables and checks whether at least one of them
is localizable.

This solves an @todo from #94570 in the group DataHandling
tests. The test set is completed by adding a similar set
for type=select.

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 2

Files 13