AEM Forms 6.3 - Serverside validation failure
Hi,
I am using the revalidate on server functionality on my form.
The JS I am using on the frontend passes validation and submits, but the serverside revalidation fails.
This is happening on my publish instance running locally.
I can see from the log below that the error is in GuideSubmitServlet, but I cannot get any more information about what is failing, I assume there is something that the GuideSubmitServlet doesn't like in my JS (?).
* Is there anyway to debug this further/ get extra information about what exactly failed e.g. increasing the log level (if so which setting would help with this?)?
* How can I trouble shoot this without the GuideSubmitServlet code?
==> error.log <==
04.12.2018 16:16:35.589 *ERROR* [0:0:0:0:0:0:0:1 [1543940194735] POST <FORM_NAME>/jcr:content/guideContainer.af.submit.jsp HTTP/1.1] com.adobe.aemds.guide.servlet.GuideSubmitServlet Could not complete Submit Action due to Server validation failed.
com.adobe.aemds.guide.service.GuideException: Server validation failed.
at com.adobe.aemds.guide.servlet.GuideSubmitServlet.doPostPrerequisites(GuideSubmitServlet.java:192)
at com.adobe.aemds.guide.servlet.GuideSubmitServlet.doSubmit(GuideSubmitServlet.java:313)
at com.adobe.aemds.guide.servlet.GuideSubmitServlet.doPost(GuideSubmitServlet.java:561)
at org.apache.sling.api.servlets.SlingAllMethodsServlet.mayService(SlingAllMethodsServlet.java:149)
at org.apache.sling.api.servlets.SlingSafeMethodsServlet.service(SlingSafeMethodsServlet.java:346)
at org.apache.sling.api.servlets.SlingSafeMethodsServlet.service(SlingSafeMethodsServlet.java:378)
at org.apache.sling.engine.impl.request.RequestData.service(RequestData.java:552)
at org.apache.sling.engine.impl.filter.SlingComponentFilterChain.render(SlingComponentFilterChain.java:44)
at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:77)
04.12.2018 16:16:35.591 *ERROR* [0:0:0:0:0:0:0:1 [1543940194735] POST <FORM_NAME>/jcr:content/guideContainer.af.submit.jsp HTTP/1.1] com.adobe.aemds.guide.servlet.GuideSubmitServlet Exception in post request. Server validation failed.
com.adobe.aemds.guide.service.GuideException: Server validation failed.
at com.adobe.aemds.guide.servlet.GuideSubmitServlet.doPostPrerequisites(GuideSubmitServlet.java:274)
at com.adobe.aemds.guide.servlet.GuideSubmitServlet.doSubmit(GuideSubmitServlet.java:313)
at com.adobe.aemds.guide.servlet.GuideSubmitServlet.doPost(GuideSubmitServlet.java:561)
at org.apache.sling.api.servlets.SlingAllMethodsServlet.mayService(SlingAllMethodsServlet.java:149)
at org.apache.sling.api.servlets.SlingSafeMethodsServlet.service(SlingSafeMethodsServlet.java:346)
Thanks,
Jim
