Hi!

The notice is:
Notice: serialize(): "albumName" returned as member variable from __sleep()
but does not exist in
/var/www/wixet/Symfony/vendor/symfony/src/Symfony/Component/Security/Core/Authentication/Token/AbstractToken.php

The file Wixet.WixetBundle.Entity.User.dcm.xml contains

<many-to-one field="mainAlbum" target-entity="Album" orphan-removal="">
      <join-columns>
        <join-column name="main_album_id"
referenced-column-name="album_id"/>
      </join-columns>
</many-to-one>

But if I change it for

<many-to-one field="mainAlbum" target-entity="Album" orphan-removal="" />

(of course also changing the database schema)
the notice disappear.

The notice appear when I use a different column name than default (use
main_album_id instead of album_id). The application works fine but this
notice is very annoying (one notice per album entity attribute).
I think that my configuration is right because I load all entities from
database (./app/console doctrine:mapping:import WixetBundle and
./app/console doctrine:generate:entities WixetBundle).

I'm just updated to PR8

Thank you

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to