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
  • ..
  • Container
  • InlineRecordContainer.php
Find file BlameHistoryPermalink
  • Christian Kuhn's avatar
    [BUGFIX] FormEngine: returnUrl handling in inline · 0ef7ce1d
    Christian Kuhn authored Nov 03, 2017 and Susanne Moog's avatar Susanne Moog committed Nov 03, 2017
    If an inline child, opened via ajax request, generates links leaving
    the current records and opening a different one, on closing that
    record the returnUrl is wrong and points to the url of the inline
    ajax request.
    The original return url of the main record is lost in the compile chain.
    The returnUrl data provider sets $data['returnUrl'] to current url if not
    otherwise given.
    The patch hands over the original return url to the inline ajax controller
    and lets it 'sink down' in the data compile chain to inline children so
    the original return url is available when container or elements generate urls.
    Additionally some broken 'returnURL' handling in InlineRecordContainer
    and jsfunc.inline.js is cleaned up and removed.
    
    Change-Id: Ia47dc8cee068fc9c4d1c5e16c1960b1a58fcb2f5
    Resolves: #82525
    Releases: master, 8.7
    Reviewed-on: https://review.typo3.org/54543
    
    
    Tested-by: default avatarTYPO3com <no-reply@typo3.com>
    Tested-by: default avatarKjeld Schumacher <k.schumacher@familie-redlich.de>
    Reviewed-by: Oliver Hader's avatarOliver Hader <oliver.hader@typo3.org>
    Reviewed-by: Susanne Moog's avatarSusanne Moog <susanne.moog@typo3.org>
    Tested-by: Susanne Moog's avatarSusanne Moog <susanne.moog@typo3.org>
    0ef7ce1d