SvenWerlen / fvtt-data-toolbox

Foundry VTT Data Toolbox
https://www.patreon.com/moulinette
22 stars 8 forks source link

Monks Enhanced Journal Compatibility #21

Closed ravingdragoon closed 7 months ago

ravingdragoon commented 2 years ago

When Data Toolbox is run with Monk's Enhanced Journal, Lib: Document Sheet Registrar (Dependency of Monk's Enhanced Journal), and libwrapper, The journal entries all let you view them once, and then show a blank page that just says Recently Viewed when you leave them and return. The following error is also generated in the F12 Console (I had to use Find the Culprit to identify this module as the problem, as it is not listed in the error message):

VM198466:7 TypeError: Cannot convert undefined or null to object
[Detected 3 packages: _document-sheet-registrar, lib-wrapper, monks-enhanced-journal]
    at Function.entries (<anonymous>)
    at Function.getDocumentSheetHeaderButtons (document-sheet-registrar.js:127)
    at Function._call (eval at <anonymous> (listeners.js:92), <anonymous>:4:14)
    at Function.call (foundry.js:179)
    at EnhancedJournal.renderSubSheet (enhanced-journal.js:182)
    at EnhancedJournal._render (enhanced-journal.js:103)
_call   @   VM198466:7
call    @   foundry.js:179
renderSubSheet  @   enhanced-journal.js:182
_render @   enhanced-journal.js:103
async function (async)      
_render @   enhanced-journal.js:96
render  @   foundry.js:2011
updateTab   @   enhanced-journal.js:542
open    @   enhanced-journal.js:751
async function (async)      
open    @   enhanced-journal.js:748
navigateFolder  @   enhanced-journal.js:603
dispatch    @   jquery.min.js:2
v.handle    @   jquery.min.js:2
SvenWerlen commented 7 months ago

Cleanup of old issues. Feel free to reopen it if it's still an issue