GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
deleteAction in CRUDController does not work - bug fixed
bugfix, request method in deleteAction should be POST, not DELETE
I'm having the same issue. "Delete" doesn't work (on Symfony 2.2)
Duplicate of #1176
Works for me with SF2.2
not working...can't delete in sf 2.2
is this fix will be soon in the master, so we can update composer ?
@ibasaw did you apply the fix in your copy?
@smlr: no, i thought it was automatic if i do a: composer update...
I edited the file, but next time i'll update composer, it woyuld like to overwrite my own file...
Delete action doesn't work either with Sf 2.2.
just modify your app(_dev).php like this:
$kernel = new AppKernel('dev', true);
$request = Request::createFromGlobals();
Request::enableHttpMethodParameterOverride(); <------------- add this
$response = $kernel->handle($request);
Thank you, it works !
A lot of thanks! I was debugging CRUDController and didn't know what happened exactly. Now all is working great. Cache should be disabled this Override.