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

Also available in: Atom PDF