Expand my Community achievements bar.

Error on Adaptive Form Theme Editor

Avatar

Level 3

Hi, We are facing an issue related to the adaptive form theme editor. Our stage and dev env is on 6.5.19.0 and adaptive form package is 6.0.1120 in stage and 6.0.718 in dev.

 

When I go to the theme editor in stage, i'm seeing error in console from this file /etc/clientlibs/fd/af/themeAuthoring.min.js. Our dev env is running older version of adaptive form and it doesn't have any issue. 

 

In dev themeAuthoring.min.js file is being called from /libs folder but in stage it's being called from /etc and /libs folder. The /etc file has code that's making ajax call to path that doesn't exist. In my browser local I have removed the script that's calling /etc/clientlibs/fd/af/themeAuthoring.min.js and editor is working fine. 

 

Here in this image, as you can see same file being called twice from libs and etc folder. in dev it's only being called from libs. 

Screenshot 2024-07-10 at 10.40.33 AM.png

 

Has anyone else seen similar issue after moving to adaptive form to 6.0.1120?

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

7 Replies

Avatar

Employee

Hi @snowwhite92 ,

Could you confirm if you have done an overlay of the some form templates, or share the code snippet which you have modified locally.

PS: The themeAuthoring.min.js is expected to come from libs, and not /etc.

Avatar

Level 3

Hi @sudhansh 

No I didn't change any form template or any code. I only updated the form package to 6.0.1120.

Avatar

Employee

Hello,

 

Is this happening for all your themes? Did you try creating a new one, is that working?
We haven't heard of such an issue, as themeauthouring js is always getting loaded from /libs and not etc.
As per your screenshot also, I see that it is getting loaded from libs and then there is an extra entry from /etc. Can you check the location /etc/clientlibs/fd/af is there anything there? This location/etc/clientlibs/fd/af shouldn't exist. If it does for you, can you enumarate the steps to reach such a point?

Avatar

Level 3

Hi @Sakshi5 ,

Yes we are seeing this issue in every theme. Below is the screenshot of the path. it does exist and all the files are under that path. Also I didn't understand what steps do you need to know?

We haven't done any custom work in adaptive forms. Everything is pretty native right now. This issue only occurred on updating Adaptive Form to 6.0.1120. 

Screenshot 2024-07-19 at 10.36.01 AM.png

Avatar

Employee

Hi @snowwhite92 ,

Can you take a backup of /etc/clientlibs/fd/af , by creating a package. In case your own clientlibraries exist under this, then you can move them outside this path /etc/clientlibs/fd/af. And then deleting this /etc/clientlibs/fd/af folder all together.
This folder shouldn't have existed all together. Did you upgrade from 6.3, as this folder was removed post that. Do let us know if this works, we will check why this path still exists in upgrade scenarios.

Avatar

Level 3

@Sakshi5 Removing the etc/clientlibs/fd/af folder fixed the loading issue. Do i need to update path anywhere else? I noticed the tips window popping up on page load/refresh, even if I select Skip > Don't show again. 

Screenshot 2024-07-22 at 11.56.41 AM.png

 

 

And yes I think we did moved from 6.3 to 6.5.

 

Avatar

Employee

@snowwhite92 AFAIK, nothing needs to be updated. If you can share the network logs of when you are clicking Skip > Don't show again, i would be able to check.