Code Monkey home page Code Monkey logo

Comments (9)

saptaru avatar saptaru commented on June 7, 2024

Updated to beta5 and the error is now :

  Entity of type Application\Sonata\UserBundle\Entity\User is missing an assigned ID. The identifier generation strategy for this entity requires the ID field to be populated before EntityManager#persist() is called. If you want automatically generated identifiers instead you need to adjust the metadata mapping accordingly.

Same for Group editing:

Entity of type Application\Sonata\UserBundle\Entity\Group is missing an assigned ID. The identifier generation strategy for this entity requires the ID field to be populated before EntityManager#persist() is called. If you want automatically generated identifiers instead you need to adjust the metadata mapping accordingly.

The id is there , but I am not sure if I did anything wrong.

Could you please advice on this ?
Thanks in advance !

from sonatauserbundle.

saptaru avatar saptaru commented on June 7, 2024

After updating to RC1 last night, I got the first issue described above. This issue seems to be reported here as well : https://github.com/FriendsOfSymfony/UserBundle/issues/156 and I am not sure if this is the place to open an issue.

BTW I will update my vendors in a few hours and get back here with updates.

from sonatauserbundle.

saptaru avatar saptaru commented on June 7, 2024

Same issue...

from sonatauserbundle.

bbergstorm avatar bbergstorm commented on June 7, 2024

and same issue too...

from sonatauserbundle.

dbu avatar dbu commented on June 7, 2024

is this still relevant?

from sonatauserbundle.

bbergstorm avatar bbergstorm commented on June 7, 2024

no,
not for me

Le 22 oct. 2011 à 18:24, David a écrit :

is this still relevant?

Reply to this email directly or view it on GitHub:
#1 (comment)

from sonatauserbundle.

mjuchli avatar mjuchli commented on June 7, 2024

guys just got this issue in another case. how did you fix that? ... using yml too..

from sonatauserbundle.

kohr avatar kohr commented on June 7, 2024

did you try the sonata sandbox : https://github.com/sonata-project/sandbox

looks like it's the best way to get the right configuration

from sonatauserbundle.

dbu avatar dbu commented on June 7, 2024

what confused me at first was that you need the easy-extend AND must generate the inherited entities. so its the provided bundle extending FOSUserBundle + generating things from there (follow the tutorial step by step)

from sonatauserbundle.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.