Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • T TYPO3.CMS
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
    • Locked files
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 8
    • Merge requests 8
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
    • Test cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Terraform modules
    • Model experiments
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • accessibilityaccessibility
  • TYPO3.CMS
  • Repository
  • TYPO3.CMS
  • typo3
  • sysext
  • backend
  • Classes
  • Utility
  • BackendUtility.php
Find file Blame History Permalink
  • benni's avatar
    [BUGFIX] Improve loading of related records in Backend UI · a22be10b
    benni authored Jul 27, 2021 and Christian Kuhn's avatar Christian Kuhn committed Jul 29, 2021
    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.
    
    Resolves: #94651
    Releases: master
    Change-Id: I8261a0c2657b9b71ae7cdc686ee43eaa7461c8b6
    Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/70117
    
    
    Tested-by: default avatarcore-ci <typo3@b13.com>
    Tested-by: default avatarOliver Bartsch <bo@cedev.de>
    Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
    Reviewed-by: default avatarOliver Bartsch <bo@cedev.de>
    Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
    a22be10b