[BUG] v11 cannot update: documentTypes: is not a valid sub-types configuration: 'RegionBehavior' is not a valid Document type
Closed this issue · 6 comments
Describe the bug
When installed in v11, updating the module fails when using the "Update All" feature in Foundry.
The specific error is
Error: Module validation errors:
documentTypes: is not a valid sub-types configuration: 'RegionBehavior' is not a valid Document type
at Setup.post (setup.js:5991:21)
at async #updateCheck (setup.js:2927:24)
at async update (setup.js:2729:23)
To Reproduce
Steps to reproduce the behavior:
- Install Foundry v11
- Install an older version of monks active tiles
- Click the "Update All" button
Expected behavior
I expect that either the module is updated, or it displays a message similar to the other monks modules. For example:
Please complete as much of the following information as possible:
- Browser: chrome
- Foundry Version: v11
- System: D&D5e
- Module version: 11.27
That's a Foundry issue. Not much I can do about that.
You'll just keep seeing it until you update to v12.
I just saw in the changelog of Baileywiki Mass Edit that they somehow managed to fix that error:
https://github.com/Aedif/multi-token-edit/blob/main/CHANGELOG.md
Pretty sure that's not related to this issue at all. Mass Edit doesn't add any additional behaviors to the Regions. Which is what Active Tiles does.
And... there's not really a way around it. The updates are required in the manifest, but Foundry checks validity before checking version. So it's up to Foundry to fix their issue.
I see, sorry for the mix up.
Link to the Foundry ticket for it.
closing issue as the bug is in Foundry.