I have a very bizarre problem and going a bit crazy.
I have a couple of forms that stopped submitting. They reload without actually hitting the workflows or logging the entry or even showing the submit success message.
I have tried to debug it but the workflow logic is never executed, and in fact, removing all workflow types doesn't change this behaviour so it seems that there's something wrong with the configuration of the form and nothing wrong with the workflows.
The logs show no error and I haven't been able to find out what could be causing them to not work. Is there a way to debug the submit logic or to get some sort of idea why this is happening?
I need to mention that they used to work until recently Many thanks
No changes to either. I'm using version 4.11.5 with Contour 3.
I've changed the logic of the workflows only, but seeing that the form doesn't submit even when I remove them entirely, it can't be my changes causing the problem.
It seems like all forms are affected and the same thing happens in preview mode :/
I would love to see if there's a way to debug this or at least get some error message somewhere
I am using custom types and the very same thing happens in preview.
The custom types used to work by the way. I made changes to them today though.
The ValidateSettings method and the constructor hit their breakpoints when I debug, but the Execute method never hits a breakpoint and indeed, even if I remove the workflows altogether, the same thing happens in the form.
One other thing is, upon postback all the form values are populated with the submitted values except one drop down which comes back unselected. The other drop downs return back with the submitted value selected.
All forms have validations and the validations works fine. When all mandatory fields are entered, the form submits, there is a postback, and the form reloads without a result and without logging the entry.
I tried adding the old workflow that used to work and this is still happening. It's extremely bizarre
Strange Contour form behaviour
I have a very bizarre problem and going a bit crazy.
I have a couple of forms that stopped submitting. They reload without actually hitting the workflows or logging the entry or even showing the submit success message.
I have tried to debug it but the workflow logic is never executed, and in fact, removing all workflow types doesn't change this behaviour so it seems that there's something wrong with the configuration of the form and nothing wrong with the workflows.
The logs show no error and I haven't been able to find out what could be causing them to not work.
Is there a way to debug the submit logic or to get some sort of idea why this is happening?
I need to mention that they used to work until recently
Many thanks
Comment author was deleted
Any changes made to your templates recently or update of Contour?
No changes to either. I'm using version 4.11.5 with Contour 3.
I've changed the logic of the workflows only, but seeing that the form doesn't submit even when I remove them entirely, it can't be my changes causing the problem.
It seems like all forms are affected and the same thing happens in preview mode :/
I would love to see if there's a way to debug this or at least get some error message somewhere
Comment author was deleted
Does it happen when you preview the form in the contour section?
Comment author was deleted
Anything funky going on in the workflows? Is it default types you are using or custom ones?
I am using custom types and the very same thing happens in preview.
The custom types used to work by the way. I made changes to them today though.
The ValidateSettings method and the constructor hit their breakpoints when I debug, but the Execute method never hits a breakpoint and indeed, even if I remove the workflows altogether, the same thing happens in the form.
One other thing is, upon postback all the form values are populated with the submitted values except one drop down which comes back unselected.
The other drop downs return back with the submitted value selected.
Quite odd isn't it?
But it's worth mentioning that when I use ?umbDebugShowTrace=true in the Form Collection values the above mentioned dropdown is populated correctly.
No idea how to debug this?
I've spent the entire day trying to the forms to work
Comment author was deleted
Hmmm and there isn't any validaition in place preventing the submit?
Comment author was deleted
I can take a look if you provide me with the login details you can send to tg at umbraco dot com
The site is running locally.
All forms have validations and the validations works fine. When all mandatory fields are entered, the form submits, there is a postback, and the form reloads without a result and without logging the entry.
I tried adding the old workflow that used to work and this is still happening. It's extremely bizarre
Comment author was deleted
Ok any chance you can send me the site then?
I can't it's a huge corporate site.
I can show you the web config or the debug data or something like that?
Maybe even the workflow itself, although I'm pretty sure that's not it as it's removed for now and the problem persists.
Also, let me know if I can add logs anywhere that will help with the exception??
I'm guessing something is causing the submit handler to fail during postback but there's no exception information logged anywhere.
You know the internal logic inside out, can we expose the exception somehow, or can you tell me what could be possibly going wrong?
Ok my colleague just told me this all started happening afte he upgraded the version of Contour to the latest one.
Comment author was deleted
Ok then I would suggest to roll back for now untill we know what is causing it
Can you share some details on your setup, you are designing the forms code first right?
What happens if you create a form in the backoffice does it also fail to submit?
is working on a reply...