Lightning component scripts loading issues since Spring 17 update

Since last update (7th of January), I am not able to load correctly those scripts:

<ltng:require 
  scripts="{! join(',', $Resource.lodash, $Resource.trix, $Resource.quill )}"
  styles="{! join(',', $Resource.trixcss, $Resource.quillcss )}"
  afterScriptsLoaded="{! c.scriptLoaded }"
/>

The action callback from ltng:require is never fired and there are no error messages appearing. Is there a way to be prompt about the failure on the script loading process ?

Answer

There is an issue with static resources in Spring’17 that is activelit being worked on. The issue is being tracked in R&D by W-3615844 if you want to reference this in any communication with support. This will be fixed asap – once we have the fix it will go out immediately (emergency release candidate already).

Attribution
Source : Link , Question Author : Simonp , Answer Author : Doug Chasman

Leave a Comment