Describe the bug
I have two entities which have a OneToMany relation -> EntityA (one) <--> EntityB (many). On the DETAIL page of my EntityACrudController I am using a CollectionField::new('relationalField'). This is causing a crash of my application, because it calls the EntityBCrudController's EDIT action, where I am using the AdminContext to receive the entity instance, which is null in that case (it is working perfectly fine if I visit the EDIT page of EntityBCrudController directly).
Why is it calling the EDIT action of the crud controller of my other entity???
This is happening after I updated EasyAdmin to version 4.29.1.
Btw: I am not using the useEntryCrudForm() method on my CollectionField. And I am not using pretty URLs
Describe the bug
I have two entities which have a OneToMany relation ->
EntityA (one) <--> EntityB (many). On theDETAILpage of myEntityACrudControllerI am using aCollectionField::new('relationalField'). This is causing a crash of my application, because it calls theEntityBCrudController'sEDITaction, where I am using the AdminContext to receive the entity instance, which is null in that case (it is working perfectly fine if I visit theEDITpage ofEntityBCrudControllerdirectly).Why is it calling the
EDITaction of the crud controller of my other entity???This is happening after I updated EasyAdmin to version
4.29.1.Btw: I am not using the
useEntryCrudForm()method on my CollectionField. And I am not using pretty URLs