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…
- La Horde du Contrevent : review - 13 October 2024
- For Whom the Bells Tolls: review - 4 August 2024
- Self Aware On Air Neon Sign - 8 June 2024
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.