Burzghash / cod

7 stars 2 forks source link

Can't open character sheet after update #1

Open Taglar opened 3 years ago

Taglar commented 3 years ago

After updating foundry to 0.8.8 i can't open all character sheets. New characters can be created but can't open too.

F12 console output:

Foundry VTT | Rendering ActorSheetCoD foundry.js:2033:15
TypeError: An error occurred while rendering ActorSheetCoD 27: actorData.advantages is undefined
    _configureDots https://vtt.lets-rollplay.de:30000/systems/cod/module/actor-sheet.js:274
    getData https://vtt.lets-rollplay.de:30000/systems/cod/module/actor-sheet.js:33
    _render https://vtt.lets-rollplay.de:30000/scripts/foundry.js:2042
    _render https://vtt.lets-rollplay.de:30000/scripts/foundry.js:2729
    render https://vtt.lets-rollplay.de:30000/scripts/foundry.js:2004
    render https://vtt.lets-rollplay.de:30000/scripts/foundry.js:3223
    _onClickEntityName https://vtt.lets-rollplay.de:30000/scripts/foundry.js:23645
    _onClickEntityName https://vtt.lets-rollplay.de:30000/scripts/foundry.js:32052
    jQuery 2
        dispatch
        handle

After _token.actor.sheet._state = -1 in console and click the token:

TypeError: An error occurred while rendering ActorSheetCoD 28: actorData.advantages is undefined
    _configureDots actor-sheet.js:274
    getData actor-sheet.js:33
    _render foundry.js:2042
    _render foundry.js:2729
    render foundry.js:2004
    render foundry.js:3223
    _onClickLeft2 foundry.js:45684
    callback foundry.js:35554
    _handleClickLeft2 foundry.js:35758
    _handleMouseDown foundry.js:35720
    emit index.js:181
    dispatchEvent interaction.min.js:8
    processPointerDown interaction.min.js:8
    recursiveFindHit interaction.min.js:8
    recursiveFindHit interaction.min.js:8
    recursiveFindHit interaction.min.js:8
    recursiveFindHit interaction.min.js:8
    findHit interaction.min.js:8
    processInteractive interaction.min.js:8
    onPointerDown interaction.min.js:8
foundry.js:2006:14

Doubleclick on avatar token:

Foundry VTT | Rendering ActorSheetCoD foundry.js:2033:15

InternalError: An error occurred while rendering ActorSheetCoD 32: too much recursion
    getType https://vtt.lets-rollplay.de:30000/common/utils/helpers.mjs:310
    _mergeUpdate https://vtt.lets-rollplay.de:30000/common/utils/helpers.mjs:501
    mergeObject https://vtt.lets-rollplay.de:30000/common/utils/helpers.mjs:466
    _mergeUpdate https://vtt.lets-rollplay.de:30000/common/utils/helpers.mjs:506
    mergeObject https://vtt.lets-rollplay.de:30000/common/utils/helpers.mjs:466
    _mergeUpdate https://vtt.lets-rollplay.de:30000/common/utils/helpers.mjs:506
    mergeObject https://vtt.lets-rollplay.de:30000/common/utils/helpers.mjs:466
    _mergeUpdate https://vtt.lets-rollplay.de:30000/common/utils/helpers.mjs:506
    mergeObject https://vtt.lets-rollplay.de:30000/common/utils/helpers.mjs:466
    _mergeUpdate https://vtt.lets-rollplay.de:30000/common/utils/helpers.mjs:506
    mergeObject https://vtt.lets-rollplay.de:30000/common/utils/helpers.mjs:466
    _mergeUpdate https://vtt.lets-rollplay.de:30000/common/utils/helpers.mjs:506
foundry.js:2006:14
    render foundry.js:2006
    (Async: promise callback)
    render foundry.js:2004
    render foundry.js:3223
    _onClickLeft2 foundry.js:45684
    callback foundry.js:35554
    _handleClickLeft2 foundry.js:35758
    _handleMouseDown foundry.js:35720
    emit index.js:181
    dispatchEvent interaction.min.js:8
    processPointerDown interaction.min.js:8
    recursiveFindHit interaction.min.js:8
    recursiveFindHit interaction.min.js:8
    recursiveFindHit interaction.min.js:8
    recursiveFindHit interaction.min.js:8
    findHit interaction.min.js:8
    processInteractive interaction.min.js:8
    onPointerDown interaction.min.js:8
Taglar commented 3 years ago

Our game is on right now, are you still working on that project?