QafooLabs / QafooLabsNoFrameworkBundle

Bundle to use Symfony controllers without depending on the Framework. Moved to GyroProject MVC-Bundle
https://github.com/gyro-project/mvc-bundle
123 stars 13 forks source link

Don't understand why getForm throws exception #16

Open fadoe opened 9 years ago

fadoe commented 9 years ago

I take a look in the code from ValidFormRequest: https://github.com/QafooLabs/QafooLabsNoFrameworkBundle/blob/master/src/QafooLabs/MVC/Form/ValidFormRequest.php#L63-L69

I wonder why getForm() throws this exception. Is this a copy-past-error?

beberlei commented 9 years ago

@fadoe the problem is that it would need to return a form instance configured to answer the questions correctly that your controller sends, not sure if that is possible.