Bug #42715

ObjectSerializer not capable of Collections

Added by Steffen Ritter almost 9 years ago. Updated almost 9 years ago.

Status:
Resolved
Priority:
Should have
Category:
Object
Start date:
2012-11-06
Due date:
% Done:

100%

Estimated time:
PHP Version:
Has patch:
Yes
Complexity:

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

Related to TYPO3.Flow - Bug #13559: ObjectSerializer failes with persistent objects within arraysAcceptedKarsten Dambekalns2011-03-02

Actions
#1

Updated by Gerrit Code Review almost 9 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 almost 9 years ago

  • Assignee set to Karsten Dambekalns
#3

Updated by Gerrit Code Review almost 9 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 almost 9 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 almost 9 years ago

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

Also available in: Atom PDF