earlSt1 / vtt-compendium-folders

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

Failure to export scene structure into compendium #70

Closed ABrandau closed 3 years ago

ABrandau commented 3 years ago

Hey, tried two scenarios, in the first one I exported simple branch of scenes into a compendium, the process succeeded but the compendium does not read the folder structure, as seen on the image.

image

image

Exporting individually solves this issue but generates duplicates of folders that are already there, making it more comfortable to do the entire process once.

In other situations I had the exported fail completely (export nothing) and export but ignore the folder structure.

image

earlSt1 commented 3 years ago

Thanks for raising this. Scenes have always been the odd one out for exporting folder structures because my code needs to wait for the scene backgrounds to upload to the compendium.

I'll definitely look into this once i get the chance as the normal solution is to export a few scenes at a time, but that should merge the folders by name, and you have reported thats not the case.

ABrandau commented 3 years ago

Update, issue might be related to scenes with missing files, after checking the scenes a bit, i found one scene with an invalid background image address, after correcting that address and regenerating that thumbnail image, the export feature worked as it should.

earlSt1 commented 3 years ago

Update, issue might be related to scenes with missing files, after checking the scenes a bit, i found one scene with an invalid background image address, after correcting that address and regenerating that thumbnail image, the export feature worked as it should.

Haha what timing :smile:, I'll still keep this issue open as to remind me to work on the scene folder structure export improvements.

earlSt1 commented 3 years ago

Merging into issue #44