earlSt1 / vtt-compendium-folders

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

Compendiums with complex names break the rendering process #119

Open webmaster94 opened 2 years ago

webmaster94 commented 2 years ago

image

Information

Any assistance with this would be greatly appreciated.

earlSt1 commented 2 years ago

Hi, so from a cursory glance at that error, I have a feeling it may be related to the name of the compendium having special characters in it (mainly the apostrophe). I can't remember how my module handled names of compendiums but one thing you could try is renaming the compendium in your custom module to just Wanderers-Guide-Magic-Items or something similar.

I'll definitely keep this issue open to remind myself to look into it, but for now this may be a solution.

webmaster94 commented 2 years ago

Renaming it in module.json did indeed fix the issue. I would have never guessed that was an issue. I assume that is only an issue with custom modules since only the label of the compendium changes for world compendiums with the name remaining world.

earlSt1 commented 2 years ago

Thats good news. I'll definitely look into this as a priority as I thought I solved this issue. For now at least the module works :)