Skip to content
GitLab
Projects Groups 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
    • Contributors
    • Graph
    • Compare
    • 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
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • 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
Switch branch/tag
  • TYPO3.CMS
  • ..
  • ForeignField
  • AbstractActionTestCase.php
Find file BlameHistoryPermalink
  • Oliver Hader's avatar
    [BUGFIX] DataMapProcessor::synchronizeInlineRelations removes entities · 8b143fa6
    Oliver Hader authored Jul 19, 2017 and Oliver Hader's avatar Oliver Hader committed Jul 24, 2017
    In case RelationHandler::readForeignField() is called with invalid UID
    values for a parent record (e.g. zero, or non-numeric values), all records
    might be selected if the database default value for a parent pointer field
    is set to zero instead of NULL.
    
    Besides that DataMapProcessor::synchronizeInlineRelations() uses the
    mentioned RelationHandler method to resolve suggested and actually
    persisted relations. The processing is adjusted to avoid invoking
    RelationHandler using non-numeric parent pointer values.
    
    Resolves: #81915
    Releases: master, 8.7
    Change-Id: I108501c69c9cdb732bb88526830f0f73f2d680af
    Reviewed-on: https://review.typo3.org/53544
    
    
    Tested-by: default avatarTYPO3com <no-reply@typo3.com>
    Reviewed-by: Susanne Moog's avatarSusanne Moog <susanne.moog@typo3.org>
    Tested-by: Susanne Moog's avatarSusanne Moog <susanne.moog@typo3.org>
    Reviewed-by: Christian Kuhn's avatarChristian Kuhn <lolli@schwarzbu.ch>
    Tested-by: Christian Kuhn's avatarChristian Kuhn <lolli@schwarzbu.ch>
    Reviewed-by: Oliver Hader's avatarOliver Hader <oliver.hader@typo3.org>
    Tested-by: Oliver Hader's avatarOliver Hader <oliver.hader@typo3.org>
    8b143fa6