craue / CraueFormFlowBundle

Multi-step forms for your Symfony project.
MIT License
736 stars 118 forks source link

At the start already the form is expired #330

Open matthijs-neijenhuijs opened 5 years ago

matthijs-neijenhuijs commented 5 years ago

After updating to 3.0.0 i have a problem with the expired error. When i start a form by step 1, i get after submitting the expired error.

Can somebody please tell me where to look, to fix this?

matthijs-neijenhuijs commented 5 years ago

when i remove the expired from the config file, it seems the form is killed in the isValid function:

        if (!$form->isSubmitted()) {
            return false;
        }

Any idea why this is possible?

matthijs-neijenhuijs commented 5 years ago

it's seems handleRequest of symfony get this error: // Don't submit the form if it is not present in the request

matthijs-neijenhuijs commented 5 years ago

its seems when i downgrade to 2.1.10 the problems are away. I dont know why this is happening with the new versions from 3.0.0

craue commented 5 years ago

Could you prepare some code to reproduce the issue?