Closed earlSt1 closed 1 year ago
The above error was thrown when trying to drag a journal entry into an actor compendium. Was experimenting a bit, seemed I overlooked this "minor" :p detail. So this might not be too relevant
Dragging a journal page into a journal compendium root (not directly into a nested folder) works without errors :p
I dont remember adding a way to drag directly from the world into a compendium folder, its just these errors that have popped up since v9.
I've added some checks which should stop those errors from being generated. Can you install the test version of CF to check if it solves your issue? To do so, uninstall your current version of CF and install this one using the manifest text box in the Install Module window: https://raw.githubusercontent.com/earlSt1/vtt-compendium-folders/10x-update/test/module.json (you wont lose any settings/compedium data doing this)
Btw this error:
Uncaught (in promise) Error: Invalid Document type 'undefined' provided to Actor5e.fromDropData.
at Actor5e.fromDropData (foundry.js:13635:13)
at async Compendium._onDrop (foundry.js:71123:22)
is part of core foundry (you can test by disabling CF and doing the same thing)
I dont remember adding a way to drag directly from the world into a compendium folder, its just these errors that have popped up since v9.
I've added some checks which should stop those errors from being generated. Can you install the test version of CF to check if it solves your issue? To do so, uninstall your current version of CF and install this one using the manifest text box in the Install Module window: https://raw.githubusercontent.com/earlSt1/vtt-compendium-folders/10x-update/test/module.json (you wont lose any settings/compedium data doing this)
Did the manual install of the test version. Everything seems to work as expected now. The core version thing persisted with CF disabled indeed. Thanks so many for your hard work, CF is such a wonderful module!
Great to hear, i'll push an official release tomorrow. You will be able to update to the official version through foundry by checking for updates as normal 😄
Fixed in v2.5.4
Yea, no rush. Sorry to add more, but it seems that dragging any new or existing journal entry from the world into a compendium folder doesn't work either. Might be the same thing
From console when moving to any folder in a compendium:
From console when moving to root:
Originally posted by @tratos2 in https://github.com/earlSt1/vtt-compendium-folders/issues/160#issuecomment-1236103778