Comments (9)
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.
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.
Same issue...
from sonatauserbundle.
and same issue too...
from sonatauserbundle.
is this still relevant?
from sonatauserbundle.
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.
guys just got this issue in another case. how did you fix that? ... using yml too..
from sonatauserbundle.
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.
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)
- In user-bundle 5.3.0, error: Key "form" for array with keys "role, role_translated, is_granted" does not exist. HOT 3
- Use SensitiveParameter for password and others HOT 1
- The ROLE_PREVIOUS_ADMIN role is deprecated HOT 1
- SonataUserBundle does not register UserListener with doctrine_mongodb.odm.event_subscriber HOT 1
- SonataUserBundle validator.xml does not adapt to MongoDB use HOT 6
- Admin list does not have edit button
- To delete (wrong repository)
- Incorrect display acl privileges grid, when exists two admin entity with the same name (in other groups). HOT 3
- User creation HOT 1
- The profile link in `user_block.html.twig` is always displayed, even if user is not allowed to view the profile. HOT 1
- The login page fix the width of the logo image to 64px HOT 7
- The doctrine/collections requirement prevents installing on Symfony 6.2 HOT 5
- SonataUserBundle 5.6.0 changes to `BaseUser.mongodb.xml` break XML validation HOT 5
- `BaseUser.mongodb.xml` `boolean field `enabled` triggers a deprecation warning HOT 1
- Invalid type for path "security.role_hierarchy.providers.sonata_user_bundle" - Error on fresh install. HOT 2
- BaseUser.mongodb.xml broken in SonataUserBundle 5.6.1 HOT 2
- Role checkboxes are disabled when creating/editing a user HOT 3
- Deprecation: UserListener needs to be done as listener instead of subscriber HOT 2
- Deprecation: Returning a string from "getSalt()" without implementing the LegacyPasswordAuthenticatedUserInterface HOT 5
- Extend UserAdmin problem (bug?) HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sonatauserbundle.