Skip to content
Commit bdba25c3 authored by Alexander Schnitzler's avatar Alexander Schnitzler Committed by Stefan Bürk
Browse files

[BUGFIX] Fix serialization of LazyLoadingProxy and LazyObjectStorage

Due to the dependency of those objects to the DataMapper and its own
dependency chain, serialization of those objects lead to error:

Serialization of \Closure not allowed.

To ommit this issue and to reduce the footprint of the serialization
data in general, the data mapper should be omitted and reinitialized
via __serialize() and __unserialize()

Releases: main, 11.5
Resolves: #97190
Resolves: #92148
Change-Id: If8b78a93308eb14d40080c9cceee95754b785ba8
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/73975


Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarBenni Mack <benni@typo3.org>
Tested-by: default avatarStefan Bürk <stefan@buerk.tech>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: default avatarOliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
Reviewed-by: default avatarStefan Bürk <stefan@buerk.tech>
parent 971be900
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment