Review 11.5 Merged

76492[BUGFIX] Fix serialization of LazyLoadingProxy and LazyObjectStorage

Stefan Bürk CR +2 V +2 Normal +172 −5 updated 11/08/22, 10:50

Commit message

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()

Review

  • Code review CR +2 Done
    • Stefan Bürk +2
    • Oliver Hader +1
  • Verified V +2 Done
    • Stefan Bürk +2
    • core-ci +1 CI

Issues 2

Files 5

Review log 57

  1. Stefan Bürk commented on patch set 1 11/08/22, 10:25

    Cherry Picked from branch main.
  2. Stefan Bürk uploaded patch set 2 11/08/22, 10:40

  3. core-ci voted on patch set 1 V -1 11/08/22, 10:41 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/33289

  4. core-ci voted on patch set 2 V +1 11/08/22, 10:47 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/33292

  5. Stefan Bürk voted on patch set 2 V +2 CR +2 11/08/22, 10:48

  6. Stefan Bürk merged patch set 3 11/08/22, 10:48

  7. Oliver Hader voted on patch set 3 CR +1 11/08/22, 10:50