vtt-compendium-folders
vtt-compendium-folders copied to clipboard
Can't import subfolder
Selecting the "Import Folder Structure" fails to copy subfolders. It generates an error:
The same error is reported if I try to import one of the subfolders directly.
This is attempting to import from a compendium stored in a module.
Hi, do you have Merge by name enabled? If so can you try with it off just to see if you get the same error?
It took me a while to find a folder on which this error occurred. On a lot of folders it works as expected.
I tried without either of the two options selected and it still caused the above error.
Stepping with the debugger, line 2694 await FICManager.recursivelyImportFolders
fails.
I note that after "let coll = pack.contents" coll is an array of 0 entries, even though the folder has 7 Items in it.
See attached 'items.gotf' in the attached 'items.gotf.db' for the 'cyphersystem' game system, which has a top-level folder Equipment containing a subfolder Materials - trying to import the "Materials" sub-folder fails.