KnpLabs/DoctrineBehaviors — pull request #56 by patxi1980 (2013-06-17 08:43:48+00:00)
Title: Error serializing the AbstractToken in Symfony2

I have my Entity User with a relation with a table that is Translatable.

The problem is that Symfony2 try to serialize the Entity and the other Entity, because there is a OneToOne relation between them.

There is a reported issue, that Doctrine2 have problems serializing private properties. So i have changed the private properties into protected ones.