Describe the bug
When trying to add a subfolder in the compendium tab, and selecting existing compendia from a module, those compendia get shot into nirvana.
To Reproduce
In a world with existing compendia from a module:
Open compendium tab and click on add folder.
In the dialog, choose some compendia that are in the folder where you click 'add folder'. Click 'Create Folder'.
Some of the chosen folders vanish, some show up at the very end as if belonging to no folder.
An error is thrown:
TypeError: this.collection.insert is not a function
at CompendiumFolder.save (compendium-folders.js:196)
at CompendiumFolder.addCompendium (compendium-folders.js:261)
at async CompendiumFolderEditConfig._updateObject (compendium-folders.js:1316)
at async CompendiumFolderEditConfig._onSubmit (foundry.js:3698)
Expected behavior
A new subfolder with the chosen items gets created.
Screenshots
1
2
3
4
Information
FoundryVTT Version 9.235
Compendium Folders Version 2.4.0
Game System + Version HeXXen 0.8.0
All other modules disabled? Active modules are libwrapper 1.11.0.0 and a content module relying on Compendium Folders.
Describe the bug When trying to add a subfolder in the compendium tab, and selecting existing compendia from a module, those compendia get shot into nirvana.
To Reproduce In a world with existing compendia from a module:
Expected behavior A new subfolder with the chosen items gets created.
Screenshots
1
2
3
4
Information