This error is back in PloneFormGen 1.7.12 using Plone 4.3.3 It was in the alpha version earlier and it was fixed. I resubmitted it as a bug report.
Here is the traceback:
Traceback (innermost last):
Module ZPublisher.Publish, line 138, in publish
Module ZPublisher.mapply, line 77, in mapply
Module ZPublisher.Publish, line 48, in call_object
Module Products.CMFFormController.FSControllerPageTemplate, line 91, in call
Module Products.CMFFormController.BaseControllerPageTemplate, line 27, in _call
KeyError: 'form.submitted'
This was caused by removing the mailer adapter. I tried adding it back, but the problem is still there. Is there a fix to make the form work again?
This is the link to the bug report. https://github.com/smcmahon/Products.PloneFormGen/issues/154
To duplicate the problem, edit the form and uncheck the mailer under action adapter. Save and submit the form. The error appears immediately. Add the mailer back in and save. Submit the form. The problem is still there.
I tried creating a new Plone site with only PloneFormGen added on the same server and a different server. Same versions of software. The problem did not duplicate in either case.