Closed lelledaniele closed 4 years ago
Please let me know if you need more details.
You mean like a stack trace? That would be great.
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.
Environment
Sonata packages
Symfony packages
PHP version
Subject
I am having a 500 error when I try to add another image on sonata_type_collection field. To avoid this issue there are two methods:
Steps to reproduce
POST parameters request
The 500 error will NOT appear if you skip the 3rd step.
POST parameters request WITHOUT 3rd step
Expected results
Show the row with the image inputs
Actual results
An exception has been thrown during the rendering of a template ("Parameter "id" for route "admin_sonata_media_media_edit" must match "[^/]++" ("" given) to generate a corresponding URL.") in "SonataMediaBundle:Form:media_widgets.html.twig".
Configuration
Entities
Form - Images Section
Please let me know if you need more details. Many thanks