Bonkahe / DMmaps

A project to help DM's do world building, with a image based database.
Other
0 stars 1 forks source link

Token #3

Closed MacNaab closed 3 years ago

MacNaab commented 3 years ago

Hi, I've some issues with token, when I delete document before node, it causes the following error: (my log)

render.js:2491 Uncaught TypeError: Cannot set property 'id' of null
    at selectDocument (render.js:2491)
    at HTMLDocument.closeDragElement (render.js:2807)
render.js:2491 Uncaught TypeError: Cannot set property 'id' of null
    at selectDocument (render.js:2491)
    at rebuildhierarchy (render.js:2122)
    at EventEmitter.<anonymous> (render.js:1309)
    at EventEmitter.emit (events.js:223)
    at EventEmitter.emit (domain.js:475)
    at Object.onMessage (electron/js2c/renderer_init.js:114)
2render.js:2467 Uncaught TypeError: Cannot set property 'id' of null
    at clearDocumentSelection (render.js:2467)
    at HTMLDocument.closeDragElement (render.js:2806)
render.js:2491 Uncaught TypeError: Cannot set property 'id' of null
    at selectDocument (render.js:2491)
    at rebuildhierarchy (render.js:2122)
    at EventEmitter.<anonymous> (render.js:1309)
    at EventEmitter.emit (events.js:223)
    at EventEmitter.emit (domain.js:475)
    at Object.onMessage (electron/js2c/renderer_init.js:114)
render.js:2467 Uncaught TypeError: Cannot set property 'id' of null
    at clearDocumentSelection (render.js:2467)
    at HTMLDocument.closeDragElement (render.js:2806)
3render.js:2491 Uncaught TypeError: Cannot set property 'id' of null
    at selectDocument (render.js:2491)
    at rebuildhierarchy (render.js:2122)
    at EventEmitter.<anonymous> (render.js:1309)
    at EventEmitter.emit (events.js:223)
    at EventEmitter.emit (domain.js:475)
    at Object.onMessage (electron/js2c/renderer_init.js:114)
render.js:2467 Uncaught TypeError: Cannot set property 'id' of null
    at clearDocumentSelection (render.js:2467)
    at selectarea (render.js:1991)
    at HTMLDivElement.<anonymous> (render.js:650)

I also notice that the drag & drop in the left part doesn't work.

Bonkahe commented 3 years ago

I'll see if I can reproduce.

MacNaab commented 3 years ago

I'll see if I can reproduce.

Thanks ! I tried to reproduce the error, now the node fades, but the error always remains in the log.

Bonkahe commented 3 years ago

Ok, that was a lot more difficult to track down and fix then I anticipated, pushing out an update with a fix in it. If you encounter the same issues it may be due to your .dmdb file having an error saved into it, if that is the case post it here and I will manually fix your database.

MacNaab commented 3 years ago

Thanks for your great job! No more error for me