You are viewing limited content. For full access, please sign in.

Question

Question

Forms 11 update 1 validation issues and file uploads missing

asked on September 2, 2021

We have been successfully running Forms 11 since late March. One of our most used processes includes a public form with hidden fields, and data lookups.

It had been working fine until the day after we recently upgraded to Forms 11 update 1 (Sunday August 29th).

Since then, there were reports from end users of sporadic LFF2107 (SubmissionError) messages for Forms Portal users, appearing at random.

Searching 'Answers' showed that these type of issues appear to be a possible regression related to hidden fields and Backend Validation settings. Turning 'Backend Validation' to 'No validation' seems to have possibly helped, but it was difficult to tell, we also turned 'Required' off on the initially hidden fields, but left 'Save the data when the field/section/page is hidden' turned on. 

Then, the recent security announcement on Tuesday, August 31st, had prompted me to read the related 'List of changes' where I saw one fix that seemed to be related to the issue we had just encountered in Forms 11 update 1:

  • Submissions no longer blocked when a field that violates frontend validation is inside a section, collection, table, or page that is hidden by a field rule. (307904)


That appears to describe what we were experiencing after Update 1, prior to the hotfix. However, after installing the associated hotfix that same evening, it does not appear to have resolved the sporadic issue, and in fact it has seemingly introduced a new bug related to file attachments on the same public form. 

Now, in addition to the previous random submission error, we are also experiencing Forms submissions making it through without any files attached - even though the 'File Upload' field is set to required and the end users have verified that they attached files and successfully submitted, as required by the field settings. 

This is not happening to all public form submissions of this specific process, but only some of them, and without anything that we can pinpoint right now. Some file submissions make it through with their associated file(s) and others do not.

The submission error seems to appear in the event viewer twice as:
1.) Event ID 9320 = FormsValidationAggregateException (HTTP Status code 400)
2.) Event ID 2107 = SubmissionError (HTTP Status code 403)

The missing File Upload / attachment doesn't seem to show in the event viewer that I can see.


What additional information can we provide to help troubleshoot and resolve these issues soon?

 

EID2107.jpg
EID9320.jpg
EID2107.jpg (865.87 KB)
EID9320.jpg (286.75 KB)
0 0

Answer

SELECTED ANSWER
replied on February 21, 2022

This issue has been fixed with Forms 11 Update 1 Hotifx 1014332(https://support.laserfiche.com/kb/1014332/list-of-changes-for-laserfiche-forms-11-update-1-hotfix-1014332) and the fix is also included in  Forms 11 Update 2(https://support.laserfiche.com/download/4167/laserfiche-forms-11-update-2)

0 0

Replies

replied on September 2, 2021

Hi Roberto,

Thanks for reporting this with details. 

Which type of form is used? The new form in 11 or classic form? The fix of 307904 is for new form only. 

0 0
replied on September 3, 2021

Classic forms only right now.

0 0
replied on September 3, 2021

Earlier today I copied/duplicated the process and converted the starting form to the 'new' Forms 11 version. Published it at a new URL and we had a couple of people try the process with the new starting form and it seems to have resolved the issue of missing file uploads for those particular users that had been experiencing that problem. 

 

I have now replaced the official production process with the 'new' Forms 11 starting form and we'll wait to see next week if anyone experiences either of the issues mentioned above. 

 

Thanks for clarification on the 307904 relating to the 'new' forms. That gave me the idea to try the conversion. Of course it would have been ideal for 'Update 1' to not have regressed or introduced new bugs in the 'classic' forms, but I'm grateful that we may have found a work around for this process. 

 

One more question:
We installed the security hotfix very shortly after receiving the security bulletin. I don't believe it had initially noted that it wasn't needed for Forms 11 build (11.0.2108.10347)

So I was initially hesitant when I saw that all of the listed change files had that same build number, but I went ahead and ran the patch installer as instructed. 

Is there any chance that applying this hotfix, which was technically "not needed", might have introduced any of these potential issues? 

If so, is there any recommended course of action - like re-installing the latest full 'Update 1' installation again etc.?

0 0
replied on September 6, 2021

Glad to hear that things are working out with new form.

We've identified there is a regression bug in drag-and-drop file in file upload on public classic form, and it will be fixed in future release.

0 0
replied on September 6, 2021

If Forms was already on 11.0.2108.10347, re-install the hotfix will not touch files I believe. So there should be no potential issues.

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.