[BUGFIX] Ensure proper context for embedded CRUD controllers
Functionality introduced in https://github.com/EasyCorp/EasyAdminBundle/pull/5353 rendered sub-CRUD controller with context of the primary CRUD controller. With invalid context some functions, like default fields generation, aren't working properly.
This attempts to fix https://github.com/EasyCorp/EasyAdminBundle/issues/5512
Failing tests here don't seem to be related to the changes.
@javiereguiluz I know you're for sure very busy but would you be able to give some guidance how to progress with this bugfix? Are there any changes I can make here?
Hi @kiler129, thanks for you PR. Sorry for the lack of activity here. Are you available to rebase the PR?
I'm facing the same bug described in your issue, and I would like to tackle it and merge a fix.
@kiler129 can you rebase this so @javiereguiluz can have a look at it ? Thanks :D