vtt-compendium-folders icon indicating copy to clipboard operation
vtt-compendium-folders copied to clipboard

Compendiums with complex names break the rendering process

Open webmaster94 opened this issue 3 years ago • 3 comments

image

Information

  • FoundryVTT Version: 0.8.9
  • Compendium Folders Version: 2.3.60
  • Game System + Version: 1.5.3
  • All other modules disabled? (y/n) y, other than the module that provides the copendium I am trying to modify. This is my created module to share content and has no logic to it that should be interfering.
  • Additional Details: I was originally able to create folders with no issue and did create some default ones with no items in them when I was creating my initial commit to github so that the compendium would be setup and ready to accept content. However, upon transferring the .db file from the world to the module folder and then reloading the module I noticed all the folders had been replaced by the temp items. I tried using fix compendium with no success. I then deleted all folder data and proceeded to create the content and then attempt export folder structure. All of the content was exported but the folder created with the temp entry. I have now deleted folder settings again and when I attempt to create any folder I get this error.

Any assistance with this would be greatly appreciated.

webmaster94 avatar Dec 01 '21 18:12 webmaster94

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.

earlSt1 avatar Dec 01 '21 18:12 earlSt1

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.

webmaster94 avatar Dec 01 '21 19:12 webmaster94

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 :)

earlSt1 avatar Dec 01 '21 19:12 earlSt1