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

Question

Question

Why does forms save copies of the upload due to bad field values

asked on February 25, 2022

We got this error in a forms save to repository task that saves an uploaded document.

One or more required fields were omitted or had a blank value. [9066]

In the past this would just wait for your to fix the issue and retry the task. Now in version 10.4 (10.4.2.665) it saves the document anyways and continues to save another copy every few weeks. We have 11 copies of the uploaded document saved all without the template being assigned. All saved by Forms.

I will work with them on resolving the field issue, but why all the copies of the document?

 

0 0

Answer

SELECTED ANSWER
replied on February 27, 2022

Hi Chad,

     It is because saving the document is separated as setting the metadata for the document, so the document can be saved first even if there is error to set the metadata.  This is useful for troubleshooting as you can check the saved document to see what is the problem of the metadata. And because of the auto retry mechanism so there will be several copies generated if the service task keeps suspended when retry. You can remove all the duplicated entries after you resolve the issue for the metadata.

0 0
replied on February 28, 2022

Oh, normally we save a form with the template, and if there is a template issue it prevents saving the form until the issue can be fixed. Seems odd it would work differently with an attachment.

0 0
replied on February 28, 2022

The behaviors for save form and save attachment are indeed different, we will look into improving it. 

0 0

Replies

replied on January 8, 2023

We have improved the behavior in Forms 11 Update 3.

If get error when set the field value for the attachment, the file will be deleted to avoid generate multiple copies. 

You can see other changes of Forms 11 Update 3 from  https://support.laserfiche.com/kb/1014413/list-of-changes-for-laserfiche-forms-11-update-3 and get Forms 11 Update 3 from Laserfiche 11 package  https://support.laserfiche.com/kb/1014263/software-versions-and-fixes-included-in-the-laserfiche-11-download-package

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

Sign in to reply to this post.