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

Question

Question

Partials Cache Issue

asked on May 25, 2017 Show version history

I have a form that is experiencing a strange issue.  The form can be started and works normally when initiated from the main forms screen (Laserfiche Forms...Start Process...Start).  However, when the form is initiated from the published link (e.g. https://formsserver.domain.com/Forms/FormName) the form comes up as blank.  When look in the browser dev tools I see an error about not finding a file in the /Forms/FormName/Partials/Cache folder.  The Partials Cache folder exists on the server as C:\Program Files\Laserfiche\Laserfiche Forms\Forms\Partials\Cache and the file it is looking for exists in this folder.  When receiving this error the body style of the form gets set with "display:none;" which accounts for the blank form.

The workaround that seems to have temporarily fixed the issue was to edit the publish link and save, then edit the publish link back to the original name and then click save again.  That process seems to have refreshed the "54en-US.html" file in the cache folder.  EDIT: This fix didn't seem to work as I thought.

This problem may arise due to infrequently used forms.  I have had this issue on one form in particular a couple of times.  Is is a form that is only used once every 3 months or so.

Thought on the cause or a permanent fix?  Thanks.

0 0

Replies

replied on June 13, 2017

When you open the process, do you end with "/" in the URL? It is bug in Forms 10.2.0 that you will not able to load the form using the published link when the URL is end with "/", it has been fixed in Forms 10.2.1

1 0
replied on June 13, 2017

There is no "/" at the end of the URL.  I'm not sure what the issue is, but it has been very problematic with one form.  I think I'm going to have to rebuild the form from scratch because I have been unable to come up with a resolution.

I have noticed that <body style="display:none;"> has occurred several times on different forms for me.  There have been several different bugs (one with the Upload control in Internet Explorer) that have caused this over the past couple of years.  I'm not sure why it is intermittently occurring in this case.  Anyway to override the display:none?

0 0
replied on June 19, 2017

It has the "display:none" attribute issue because there is error to get the form. We need to know in which case the error is occurred. Can you open support cases with your VAR and provide the videos to illustrate the issues that you ran into  and the HTTP requests recorded so that we can fix those to prevent them happening again.  For example, for this issue, we need to know how do you access the form such as the URL and the http requests recorded.

0 0
replied on June 22, 2017 Show version history

I may have finally fixed this.  After extensive testing with browser developer tools I noticed that the problematic form was adding an extra directory into the Partials cache path, with the name of the published form.  This was creating a 404 not found error.

Non-working form
https://forms.domain.com/Forms/ExtraDirectory/Partials/Cache/54en-US.html

Working form
https://forms.domain.com/Forms/Partials/Cache/54en-US.html
 

The fix was to edit the Link under Process options...click Save...then edit the link back to the original...click Save again.  I have no idea where the extra directory came from and how Laserfiche associates the Partials Cache.

 

 

You are not allowed to follow up in this post.

Sign in to reply to this post.