StarWarsFoundryVTT / StarWarsFFG

StarWarsFFG System for Foundry VTT.
http://www.foundryvtt.com
MIT License
93 stars 77 forks source link

Specialization Sheets take a long time to load #1593

Closed Picklebump closed 1 week ago

Picklebump commented 3 weeks ago

Describe the bug Specialization Sheets take a long time to load, 30 seconds or so

To Reproduce Click on an actors specialization sheet

Expected behavior Sheet opens instantly

Desktop (please complete the following information):

Additional context below is an error that appears dozens of times in the console. The amount of instances appears to corelate to the time taken to load.

foundry-esm.js:4621 Error: The {{select}} handlebars helper is deprecated in favor of using the {{selectOptions}} helper or the foundry.applications.fields.createSelectInput, foundry.applications.fields.createMultiSelectElement, or foundry.applications.fields.prepareSelectOptionGroups methods.
Deprecated since Version 12
Backwards-compatible support will be removed in Version 14
    at Object.logCompatibilityWarning (foundry-esm.js:4609:19)
    at Object.select (foundry.js:8271:19)
    at Object.c (handlebars.min.js:27:27865)
    at eval (eval at createFunctionContext (handlebars.min.js:29:10011), <anonymous>:19:129)
    at Object.h [as inverse] (handlebars.min.js:27:25975)
    at Object.<anonymous> (handlebars.min.js:27:18195)
    at Object.c (handlebars.min.js:27:27865)
    at eval (eval at createFunctionContext (handlebars.min.js:29:10011), <anonymous>:11:47)
    at h (handlebars.min.js:27:25975)
    at c (handlebars.min.js:27:6943)
    at handlebars.min.js:27:7576
    at Array.forEach (<anonymous>)
    at handlebars.min.js:27:7544
    at Object.<anonymous> (handlebars.min.js:27:7619)
    at Object.c (handlebars.min.js:27:27865)
    at Object.eval [as main] (eval at createFunctionContext (handlebars.min.js:29:10011), <anonymous>:17:49)
    at c (handlebars.min.js:27:23534)
    at d (handlebars.min.js:27:23849)
    at e (handlebars.min.js:28:30886)
    at Object.h (handlebars.min.js:27:26843)
    at Object.c [as invokePartial] (handlebars.min.js:27:23141)
    at Object.eval [as main] (eval at createFunctionContext (handlebars.min.js:29:10011), <anonymous>:31:28)
    at c (handlebars.min.js:27:23534)
    at d (handlebars.min.js:27:23849)
    at e (handlebars.min.js:28:30886)
    at renderTemplate (foundry.js:7824:10)
    at async ItemSheetFFGV2._renderInner (foundry.js:5988:16)
    at async ItemSheetFFGV2._renderInner (foundry.js:6558:18)
    at async ItemSheetFFGV2._render (foundry.js:5819:19)
    at async ItemSheetFFGV2._render (foundry.js:6547:5)
    at async ItemSheetFFGV2._render (foundry.js:7133:5)
wrycu commented 1 week ago

Done, will be released in 1.902. Thanks for the report!