Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ManyToMany with the same entity #6479

Open
pinoinside opened this issue Oct 15, 2024 · 0 comments
Open

ManyToMany with the same entity #6479

pinoinside opened this issue Oct 15, 2024 · 0 comments

Comments

@pinoinside
Copy link

Describe the bug
I have a table "people" and a join-table to set relationships between people (so it's a many-to-many with the same entity) with extra data. I created the join-table CRUD controller and it works as expected, but if I add a collection field inside people to add the relationships while editing a single people, when I save it sets the same record on both fields of the many to many record.

To Reproduce
Symfony 6.4 - EasyAdmin 4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant