Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • typo3 typo3
  • Project information
    • Project information
    • Activity
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Analytics
    • Analytics
    • CI/CD
    • Insights
    • Repository
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • typo3typo3
  • typo3typo3
  • Repository
Switch branch/tag
  • typo3
  • typo3
  • sysext
  • core
  • Classes
  • Resource
  • FileReference.php
Find file BlameHistoryPermalink
  • Benjamin Franzke's avatar
    [BUGFIX] Fix serialization of FileReference objects · 6715ff92
    Benjamin Franzke authored Jun 08, 2020 and Benni Mack's avatar Benni Mack committed Mar 11, 2021
    FileReferences objects contain references to File
    objects which itself contain service dependencies
    (e.g. event dispatcher) which are not seralizable.
    
    This leads to problems for instance when having
    a multi-step form containing file uploads where
    file reference objects are being serialized.
    
    For TYPO3 v9.5 there is no direct exception, but serialized
    data still contained lots of superfluous information. That's
    why this change is back-ported to v9.5 as well.
    
    Resolves: #91196
    Releases: master, 10.4, 9.5
    Change-Id: I7650186adc5c61528e1a1adcf06b8d6cf67a55cd
    Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/68341
    
    
    Tested-by: default avatarTYPO3com <noreply@typo3.com>
    Tested-by: core-ci's avatarcore-ci <typo3@b13.com>
    Tested-by: Benni Mack's avatarBenni Mack <benni@typo3.org>
    Reviewed-by: Benni Mack's avatarBenni Mack <benni@typo3.org>
    6715ff92