VTTAssets / vtta-tokenizer

Tiny yet capable in-game token editor, requires trusted user level for uploads
MIT License
7 stars 8 forks source link

BUG - Can't update module settings for any module on Foundry VTT 0.7.2 when the module is enable #20

Closed p4535992 closed 4 years ago

p4535992 commented 4 years ago

Environment Details:

Foundry VTT Version: 0.7.2 Operating System: [Linux] How Are You Using Foundry: [Linux,Native Application (Electron), Chrome] Which Game System: Dungeons and Dragons 5th Edition, version 0.96 Modules Enabled?: yes OS, Hosting, Browser (if applicable): Linux/Node/Chrome Module Version : 2.2.1

Description of the issue:

After update to foundry 0.7.2 i'm getting this error when i try to save the modules settings.

Uncaught (in promise) TypeError: Failed to construct 'Image': Please use the 'new' operator, this DOM object constructor cannot be called as a function.

img

it looks like ExtendedSettingsConfig is the cause.

VTTAssets commented 4 years ago

Can confirm, thanks. Foundry changed the way it registers the settings and I had to rename the config type from Image to ImageUrl. Fixed in the next release.