Review 9.5 Merged

68341[BUGFIX] Fix serialization of FileReference objects

Oliver Hader CR +2 V +2 Normal +36 −19 updated 03/11/21, 14:32

Commit message

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.

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 1