schmittjoh/JMSSecurityExtraBundle — Issue #19: POST to @Secure method with default parameter value fails
Author: coderich
Created: 2011-11-06 21:51:18+00:00
State: open

If I take away the @Secure annotation the form will POST and execute just fine. As you can see there is a default value:

/**
* @Route("/create", name="project.create")
* @Secure(roles="ROLE_PROJECT")
* @Template()
*/
public function createAction($col_width=4)
{
// Rest of the code...
}

------------------------------ERROR-------------------------------------------

Controller "Closure" requires that you provide a value for the "$col_width" argument (because there is no default value or because there is a non optional argument after this one).