Salesforce have now postponed the enforcement of the Release Update ‘Enable Secure Static Resources for Lightning Components’ indefinitely. Due to a number of issues that were introduced, their advice is now “Don’t enable it”. We recommend all organizations should follow this advise.
The initial issue has been resolved however another issue has been introduced which has caused a further delay to the forced enablement of this Release Update. Full information on the issue is logged via this known issue.
An issue has been introduced by Salesforce with their latest Release Update ‘Enable Secure Static Resources for Lightning Components’ which has resulted in Salesforce having to delay the forced enablement to Summer’21. When enabled, Aura components provided within managed packages that make reference to static resources also packaged with the solution result in Cross-Origin Resource Sharing (CORS) issues.
A quick way to check whether this affects you is by analyzing the browser console for CORS errors when you try to use your Aura component once the Release Update is enabled (example below displaying the AddressTools override when the Release Update is enabled).
Salesforce have officially acknowledged that this is not desired behavior and have delayed the enforcement of this Release Update until Summer’21 with the aim to have a fix completed and available in Spring’21. The official Salesforce release notes have been updated to reflect this.
You can also track the known issue. By using the This Issue Affects me, you will receive updates from Salesforce as they work on resolving the problem.
This Release Update affects AddressTools & IndustryComplete. We suggest disabling this Release Update until Salesforce have released the update resolving the issue. For more information, contact email@example.com.
What is AddressTools?
We’re glad you asked! AddressTools is our 5* app for Salesforce which takes the worry out of bad address data by keeping all of your addresses validated, verified, corrected, and standardized. Like the sound of it? Try it for yourself on the AppExchange!
What is IndustryComplete?
Another great question! IndustryComplete is the ultimate industry code search tool for Salesforce. Look up NAICS, SIC and ISIC data without ever leaving your org to improve your industry data. You can even attach multiple industries to your accounts. Want to try out IndustryComplete? It’s on the AppExchange!