moo-man / WFRP4e-FoundryVTT

The premiere system for running grim and perilous games of Warhammer Fantasy Role-play in the Foundry VTT environment.
Apache License 2.0
89 stars 52 forks source link

[WFRP4e System] Foundry v12 Handlebars deprecations #2091

Open moo-man opened 3 months ago

moo-man commented 3 months ago

{{select}}

This can be observed in places with select (like configuration settings to select default rolltables, a character sheet with ranged weapon and ammo, or character sheet configuration)

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:4605:19)
    at Object.select (foundry.js:8261:19)
    at Object.c (handlebars.min.js:27:27865)
    at eval (eval at createFunctionContext (handlebars.min.js:29:10011), <anonymous>:15:129)
    at h (handlebars.min.js:27:25975)
    at c (handlebars.min.js:27:6943)
    at handlebars.min.js:27:7607
    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>:11:49)
    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:7825:10)
    at async TableSettings._renderInner (foundry.js:5989:16)
    at async TableSettings._renderInner (foundry.js:6559:18)
    at async TableSettings._render (foundry.js:5820:19)
    at async TableSettings._render (foundry.js:6548:5)


From: forien
foundry: 12.327
wfrp4e: 7.2.1
wfrp4e-core: 5.0.6
wfrp4e-up-in-arms: 5.0.2
wfrp4e-wom: 5.0.3
Active Modules: forien-ammo-swapper, forien-armoury, foundryvtt-simple-calendar, lib-wrapper, times-up