We have a Skuid page which is a visualforce page tab, used in Lightning. When we navigate to another tab (lightning console), and then back, it refreshes the Skuid page on load.
How can we fix this?
Salesforce support said this:
I have tried replicating the issue in the Sandbox and checked the ‘InternalDashboard’ VF page for csearch tab
I have tried capturing the debug logs when the issue occurred and found the below error
VM9112 XXX–full.lightning.force.com&tour=&isdtp=p1&sfdcIFrameHost=web&clc=1:1 Access to XMLHttpRequest at ‘https://XXX–full–skuid.cs101.visual.force.com/resource/skuid__IconsSVG/’ (redirected from ‘https://XXX–full–c.cs101.visual.force.com/resource/skuid__IconsSVG/’) from origin ‘https://XXX–full–c.cs101.visual.force.com’ has been blocked by CORS policy: Response to preflight request doesn’t pass access control check: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.
>>The page redirection is blocked by CORS policy
>>Generally this issue occurs when VF page use Font static resources included in the managed package
>>I see that the issue is similar to it
There is a known issue regarding this
https://success.salesforce.com/issues_view?id=a1p3A000000EAUZ
I will further investigate the issue and get back to you with more updates