bmarian / token-tooltip-alt

A module that adds a tooltip next to the currently hovered token to show some useful information for players and DMs.
MIT License
9 stars 15 forks source link

[BUG] Not Working on CypherSystem #116

Open mparker546 opened 1 year ago

mparker546 commented 1 year ago

Describe the bug When using CypherSystem game system, Token Tooltop Alt doesn't point to, record, or save settings. After troubleshooting in the CypherSystem channel, we were able to get this error after attempting to import settings. otherwise, even with debugging on, I get no errors.

Error:

TypeError: An error occurred while rendering TooltipEditor 103. settings.items.find(...) is undefined
[Detected 1 package: token-tooltip-alt]
    activateListeners .../modules/token-tooltip-alt/scripts/apps/TooltipEditor.js:204
    jQuery 2
        each
        each
    activateListeners .../modules/token-tooltip-alt/scripts/apps/TooltipEditor.js:200
    _render .../scripts/foundry.js:5138
    _render .../scripts/foundry.js:5822
    render .../scripts/foundry.js:5067
    _openTooltipEditor .../modules/token-tooltip-alt/scripts/apps/TooltipManager.js:222
    jQuery 2
        dispatch
        handle
foundry.js:747:30
    onError foundry.js:747
    call_wrapped libWrapper-wrapper.js:507
    <anonymous> listeners.js:135
    onError#0 libWrapper-wrapper.js:187
    render foundry.js:5069
    (Async: promise callback)
    render foundry.js:5067
    _openTooltipEditor TooltipManager.js:222
    jQuery 2
        dispatch
        handle

To Reproduce I don't know how to reproduce the problem on another system. Other users report this working as normal. And it works as intended in other game systems.

Screenshots image If applicable, add screenshots to help explain your problem.

Please complete the following information: Browser: Firefox Foundry Hosted on Ubuntu Headless Server

mparker546 commented 1 year ago

I thought it was fixed, it was not.

The new development is that after disabling and reenabling all modules, it shows the tooltip as it should from the import of settings, but it won't let edits or show the data in the settings.

image