Bug #52448
Serialization of objects should exclude transient properties
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
[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
[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
Applied in changeset 791b57041971f80a50bcbc3194be2bbba698a033.
#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
Applied in changeset 26ee5d83293a022eb4b1ee7048ba3bd1c6cd4ccc.