Everything was very well working when suddenly:
Error 500 | Internal Server Error | InvalidArgumentException
The "/submission/:id/edit.:sf_format" route has some missing mandatory parameters (:id).
Only in dev environment, prod was working without problem.
One quick-fix/solution I found was to rewrite the settings.yml in the concerned app folder config like that:
dev:
.settings:
error_reporting: <?php echo (E_ALL | E_STRICT)." " ?>
web_debug: on
cache: on
no_script_name: off
etag: off
logging_enabled: on
Followed by a little and really popular:symfony cc
And, taaaaaadaan everything is back… But unfortunately, I don’t understand were the bug is coming from, and no time for that now.
Just lost two hours…
- Au Printemps des Monstres : review - 25 November 2023
- A Moveable Feast: review - 30 September 2023
- The Tent: review - 27 August 2023
Hi, i had the same problem, i think that the problem come from this bug
http://trac.symfony-project.org/ticket/5457
I do the indicated in the bug report comments and when i override the save method in the form now i return the saved object; the problem is solved.