Closed mygrexit closed 3 weeks ago
Thx for the update.
When I initialize the module all journal entries are placed on the first level without subfolder. It would be nice if the journal entries are placed in a subfolder like "DSA5 Interaktive Aventurienkarte".
Diese Fragen müssen an den Ersteller des Moduls gehen. Hier sind sie falsch.
Ich dachte es wäre ein Folgefehler von oben und läge in eurer Hand. Dann geht es an den Ersteller des Moduls.
Describe the bug
There are console errors in the DSA/TDE system for Foundry VTT related to the use of
folder.data.name
, which should be updated tofolder.name
due to updates in Foundry's API. This may cause issues with folder functionalities within the system.I encountered this bug when I tried to initialize the module Interactive Aventuria Map version 1.0.6.
To Reproduce
Steps to reproduce the behavior:
folder.data.name
being undefined.Expected behavior
The system should initialize without console errors, and all folder operations should function correctly by using the updated property folder.name.
Screenshots
/
Versions:
Additional context
In the
initializer.js
file, lines 217 to 240, the code currently accessesfolder.data.name
, which is deprecated in newer versions of Foundry VTT. The correct property should befolder.name
. Here is the code and the specific changes:I have not checked if this issue occurs in other parts of the codebase, so there may be additional instances where
folder.data.name
needs to be replaced with folder.name.Could you please update the code accordingly and release a new version?
All of the above was discovered by Kristov from the League of Extraordinary FoundryVTT Developers Discord while trying to help me get the module up and running.