Skip to main content

When I click Update Out of Date Themes in one particular sandbox, I get this error in the console, and the page just hangs:


VM369:1 Uncaught SyntaxError: Unexpected token u in JSON at position 0
at JSON.parse (<anonymous>)
at Object.<anonymous> (<a href="https://skuid.cs60.visual.force.com/resource/1505354075000/skuid__CoreComponents/themecomposer.js:4:3885" title="Link: https://skuid.cs60.visual.force.com/resource/1505354075000/skuid__CoreComponents/themecomposer.js:4:3885">https://skuid.cs60.visual.force.com/resource/1505354075000/skuid__CoreComponents/themecomposer.js:4:...</a>)
at Function.each (<a href="https://skuid.cs60.visual.force.com/resource/1489487629000/skuid__JQueryJS:2:14130" title="Link: https://skuid.cs60.visual.force.com/resource/1489487629000/skuid__JQueryJS:2:14130">https://skuid.cs60.visual.force.com/resource/1489487629000/skuid__JQueryJS:2:14130</a>)
at Object.<anonymous> (<a href="https://skuid.cs60.visual.force.com/resource/1505354075000/skuid__CoreComponents/themecomposer.js:4:3853" title="Link: https://skuid.cs60.visual.force.com/resource/1505354075000/skuid__CoreComponents/themecomposer.js:4:3853">https://skuid.cs60.visual.force.com/resource/1505354075000/skuid__CoreComponents/themecomposer.js:4:...</a>)
at j (<a href="https://skuid.cs60.visual.force.com/resource/1489487629000/skuid__JQueryJS:3:6134" title="Link: https://skuid.cs60.visual.force.com/resource/1489487629000/skuid__JQueryJS:3:6134">https://skuid.cs60.visual.force.com/resource/1489487629000/skuid__JQueryJS:3:6134</a>)
at Object.fireWith [as resolveWith] (<a href="https://skuid.cs60.visual.force.com/resource/1489487629000/skuid__JQueryJS:3:6946" title="Link: https://skuid.cs60.visual.force.com/resource/1489487629000/skuid__JQueryJS:3:6946">https://skuid.cs60.visual.force.com/resource/1489487629000/skuid__JQueryJS:3:6946</a>)
at Object.e.(anonymous function) [as resolve] (<a href="https://skuid.cs60.visual.force.com/resource/1489487629000/skuid__JQueryJS:3:7926" title="Link: https://skuid.cs60.visual.force.com/resource/1489487629000/skuid__JQueryJS:3:7926">https://skuid.cs60.visual.force.com/resource/1489487629000/skuid__JQueryJS:3:7926</a>)
at f (<a href="https://skuid.cs60.visual.force.com/resource/1505354016000/skuid__SkuidJS:5:11594" title="Link: https://skuid.cs60.visual.force.com/resource/1505354016000/skuid__SkuidJS:5:11594">https://skuid.cs60.visual.force.com/resource/1505354016000/skuid__SkuidJS:5:11594</a>)
at skuid.remote.getBodiesOfZIPResourceFiles.escape (<a href="https://skuid.cs60.visual.force.com/resource/1505354016000/skuid__SkuidJS:5:12093" title="Link: https://skuid.cs60.visual.force.com/resource/1505354016000/skuid__SkuidJS:5:12093">https://skuid.cs60.visual.force.com/resource/1505354016000/skuid__SkuidJS:5:12093</a>)
at e.cb (<a href="https://skuid.cs60.visual.force.com/jslibrary/1500054742000/sfdc/VFRemote.js:133:309" title="Link: https://skuid.cs60.visual.force.com/jslibrary/1500054742000/sfdc/VFRemote.js:133:309">https://skuid.cs60.visual.force.com/jslibrary/1500054742000/sfdc/VFRemote.js:133:309</a>)

Hmmm, I don’t think I’ve seen that error before. What version of Skuid is that sandbox on? How many themes does it have? If you clear your browser cache or go to your themes page in an incognito window, does updating out of date themes finish?


I’m still getting this error, in production and every sandbox, doesn’t matter what skuid version, have had this since version 9 and now through version 11.1.13.
Doesn’t seem like i’m the only one
https://community.skuid.com/t/update-out-of-date-themes-never-finishes?topic-reply-list%5…
https://community.skuid.com/t/missing-snippet-for-update-out-of-date-themes-button

That last link is interesting. If someone from skuid could post the content of the snippet “skuid.themebuilder.updateThemes” I could try to run it manually. It literally doesn’t seem to be included in the ThemeList page. 



Reply