kunicmarko20 / SonataAnnotationBundle

Annotations for Sonata Admin
MIT License
21 stars 7 forks source link

Children not added with ParentAssociationMapping #8

Closed kunicmarko20 closed 6 years ago

kunicmarko20 commented 6 years ago

I forgot to add a call to addChild on admin class service when you add ParentAssociationMapping annotation but there is a different problem. You can basically add a child to any admin, even if they are not connected.

Waiting for resolution of https://github.com/sonata-project/SonataAdminBundle/pull/5052 to see how will I fix this.