Bug #52448

Serialization of objects should exclude transient properties

Added by Christian Müller almost 2 years ago. Updated almost 2 years ago.

Status:Resolved Start date:2013-10-02
Priority:Should have Due date:
Assigned To:Christian Müller % Done:

100%

Category:Object
Target version:-
PHP Version: Complexity:
Has patch:No Affected Flow version:Git master

Description

We still check for a "tag" annotation to exclude transient properties from serialization. That is wrong and transient properties are always serialized.

Associated revisions

Revision 791b5704
Added by Christian Müller almost 2 years ago

[BUGFIX] Transient Properties should not be serialized

Properties annoated with the \TYPO3\Flow\Annotations\Transient
annotation should not be serialized in the autogenerated __sleep
method.

Fixes: #52448
Releases: master, 2.0
Change-Id: Ife9a6fb645816ff70fd0fa68d62837c449ef2cf5

Revision 26ee5d83
Added by Christian Müller almost 2 years ago

[BUGFIX] Transient Properties should not be serialized

Properties annotated with the \TYPO3\Flow\Annotations\Transient
annotation should not be serialized in the autogenerated __sleep
method.

Fixes: #52448
Releases: master, 2.0
Change-Id: Ife9a6fb645816ff70fd0fa68d62837c449ef2cf5

History

#1 Updated by Gerrit Code Review almost 2 years ago

  • Status changed from Accepted to Under Review

Patch set 2 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/24238

#2 Updated by Gerrit Code Review almost 2 years ago

Patch set 3 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/24238

#3 Updated by Gerrit Code Review almost 2 years ago

Patch set 4 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/24238

#4 Updated by Gerrit Code Review almost 2 years ago

Patch set 1 for branch 2.0 has been pushed to the review server.
It is available at https://review.typo3.org/24253

#5 Updated by Christian Müller almost 2 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

#6 Updated by Gerrit Code Review almost 2 years ago

  • Status changed from Resolved to Under Review

Patch set 2 for branch 2.0 has been pushed to the review server.
It is available at https://review.typo3.org/24253

#7 Updated by Christian Müller almost 2 years ago

  • Status changed from Under Review to Resolved

Also available in: Atom PDF