Closed grichards closed 4 years ago
Not from me yet... I haven't had time to trace the actual problem in code, and have deferred for now moving onto other aspects of my project.
Gabe
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
I have an admin class which is configuring an inline "sonata_type_collection" for a one-to-many relationship.
The admin class representing the "sonata_type_collection" entity itself has a related many-to-one entity which is configured using "sonata_type_model", and a specific admin class to use for this context via "admin_code".
The admin class configured for this "sonata_type_model" via the "admin_code" is not being utilized to manage this entity when I click "Add New" from within the inline collection's row.
Instead, I get the label for the "admin_code" as defined in the services.yml echo'd in the header of the modal, but the form itself is that from the last defined admin class for this entity in the services.yml
Environment
MAMP
Sonata packages
Symfony packages
PHP version