earlSt1 / vtt-compendium-folders

Collapsable folders in the compendium directory and folder structures inside compendiums for FoundryVTT
21 stars 18 forks source link

Bulk Import Error #25

Closed manuel-leveugle closed 3 years ago

manuel-leveugle commented 3 years ago

Hello, an error is present during a grouped import from a compendium, the creation of asynchronous folder does not work and sometimes the same folder is sometimes created several times. Compendium tree: image

Import Tree: image So here in the first subfolder a/a.a/c we have part of the objects and in the second subfolder a/a.a/c is the other part.

in addition, it is not a bug, but I include it in this ticket in case, a small evolution would be the posibility to add a parameter in the options of import to force the overwriting if an object already exists. Thanks you.

earlSt1 commented 3 years ago

I thought I fixed the duplicate folders on import bug, looks like I haven't. I'll look into fixing this for next release.

As for your second suggestion I do like it, having an option like Merge by name on the Export process would be a good improvement.

earlSt1 commented 3 years ago

So the bug with duplicate folders should be fixed in v2.0.6 Edit: It still occurs occasionally for Scenes, but others are fine.

I've also added your suggestion (merge-by-name tickbox for Importing) in the same release