Bug #42715
ObjectSerializer not capable of Collections
Status: | Resolved | Start date: | 2012-11-06 | |
---|---|---|---|---|
Priority: | Should have | Due date: | ||
Assigned To: | Karsten Dambekalns | % Done: | 100% |
|
Category: | Object | |||
Target version: | TYPO3 Flow Base Distribution - 2.0 beta 1 | |||
PHP Version: | Complexity: | |||
Has patch: | Yes | Affected Flow version: | (any) |
Description
Using the serializer on Objects containing instances of \Doctrine\Common\Collections\Collection will fail with an exception: Object of type "" not registered.
Even if the Doctrine persistence knows how to deal with Collections, situations might need to serialize the Object for Sessions, Encryptions and so on.
Add support to the ObjectSerializer is quite easy.
Related issues
Associated revisions
[BUGFIX] ObjectSerializer not capable of Collections
Serializing Objects containing properties being a
Doctrine Collection fails with an exception since the
ObjectSerializer is not capable of recognizing them.
This change adds support for Collection properties in objects
and arrays.
Change-Id: I26afda43f943b759764ca61a9b42c283302d83f7
Resolves: #42715
Releases: 1.1, 1.2
History
#1 Updated by Gerrit Code Review over 2 years ago
- Status changed from New to Under Review
Patch set 2 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/16231
#2 Updated by Karsten Dambekalns over 2 years ago
- Assigned To set to Karsten Dambekalns
#3 Updated by Gerrit Code Review over 2 years ago
Patch set 3 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/16231
#4 Updated by Gerrit Code Review over 2 years ago
Patch set 1 for branch FLOW3-1.1 has been pushed to the review server.
It is available at https://review.typo3.org/17113
#5 Updated by Karsten Dambekalns over 2 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100