Review main Merged

70117[BUGFIX] Improve loading of related records in Backend UI

Benni Mack CR +2 V +2 Hard +213 −470 updated 07/29/21, 15:48

Commit message

This change uses RelationHandler for foreign_table / allowed and MM
in BackendUtility::getProcessedValue in a consistent way.

In addition, the RelationHandler now fetches the full
record by default and adds this to the processed array, making
fewer queries to the database by fetching each record
fully directly.

Some bugs are fixed with that:
* FAL images (as in all inline fields) in list module now have the correct order
* Fewer DB queries when fetching relations in Group field in FormEngine

Setting the option in RelationHandler to fetch all fields by default
avoids unneeded calls in general when fetching the records.

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 1

Files 9