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
  • ..
  • ForeignField
  • AbstractActionTestCase.php
Find file Blame History Permalink
  • Benni Mack's avatar
    [BUGFIX] Ensure "pid" and "parentid" of pages - inline fields are correct · 4770e0b7
    Benni Mack authored Nov 13, 2017 and Susanne Moog's avatar Susanne Moog committed Nov 15, 2017
    When doing translations with pages and inline elements (e.g. pages.media),
    there is an inconsistency when an additional inline element is added to the
    TRANSLATED page (e.g. language=1).
    
    Current (wrong) when adding a translation to a page
    - localized IRRE children get pid = default page ID (correct)
    - localized IRRE children only localization get parentid = default page ID (should be translated page ID)
    
    Current (wrong) behaviour when adding a IRRE child only available in a translation:
    - parentid gets localized page => correct
    - pid gets set to localized page => must be default language
    
    The patch corrects this behaviour by always set
    - the relation (parentid) to the localized page ID
    - the page ID (pid) to the default language page ID
    
    Additionally, when adding an Inline element (IRRE) via AJAX
    on page properties, the PID gets resolved correctly to be sent
    to DataHandler.
    
    Resolves: #82983
    Releases: master
    Change-Id: Id8bf39524ee608acf452e2b7103087d4299c1e28
    Reviewed-on: https://review.typo3.org/54632
    
    
    Tested-by: default avatarTYPO3com <no-reply@typo3.com>
    Reviewed-by: default avatarDaniel Gorges <daniel.gorges@b13.de>
    Tested-by: default avatarDaniel Gorges <daniel.gorges@b13.de>
    Reviewed-by: default avatarSusanne Moog <susanne.moog@typo3.org>
    Tested-by: default avatarSusanne Moog <susanne.moog@typo3.org>
    4770e0b7