Re: [symfony-users] Re: Exception throw UsernamePasswordToken

2011-06-23 Thread Christophe COEVOET
Le 23/06/2011 10:22, François CONSTANT a écrit : Hi, the current user can't be serialized apparently. Changing private $usuario; to protected $usuario should solve that issue. It must be done on related entities as well. On Jun 23, 5:45 pm, Michel Salib wrote: Most of the time this error app

Re: [symfony-users] Re: Exception throw UsernamePasswordToken

2011-06-23 Thread Michel Salib
Most of the time this error appear because of a bad initialization of your object. It looks like you do not have any constructor, so you don't seem to initialize any collection which you should do if you have some. What is your orm mapping ? -- If you want to report a vulnerability issue on s