bug d'encaissement #187

Closed
opened 2021-04-25 00:43:16 +02:00 by tyrcho · 4 comments
tyrcho commented 2021-04-25 00:43:16 +02:00 (Migrated from gitlab.com)

Pour que le bug soit traité, merci de préciser quelques détails.

Environment

Indiquez quelques éléments de votre installation

image
image

Description du problème

Parfois le système se bloque sur l'action encaisser, un clic dessus ne déclenche rien.

Voici ce que j'ai récupéré dans la console JS :

rdd-combat.js:1195 RdDCombat.encaisser >>> {passeArme: "yd9b6oox2yrwktx3", coupsNonMortels: false, competence: {…}, surprise: "", surpriseDefenseur: "", …} RU69cpYnWnRwQCFN
VM2137:1 Uncaught (in promise) SyntaxError: Unexpected token u in JSON at position 0
    at JSON.parse (<anonymous>)
    at duplicate (foundry.js:978)
    at Function.computeChances (rdd-resolution-table.js:168)
    at Function.roll (rdd-resolution-table.js:111)
    at Function.rollData (rdd-resolution-table.js:105)
    at RdDCombat.computeRecul (rdd-combat.js:1159)
    at RdDCombat.encaisser (rdd-combat.js:1210)
    at RdDCombat.onEvent (rdd-combat.js:583)
    at HTMLAnchorElement.<anonymous> (rdd-combat.js:545)
    at HTMLElement.dispatch (jquery.min.js:2)
duplicate @ foundry.js:978
computeChances @ rdd-resolution-table.js:168
roll @ rdd-resolution-table.js:111
rollData @ rdd-resolution-table.js:105
computeRecul @ rdd-combat.js:1159
encaisser @ rdd-combat.js:1210
onEvent @ rdd-combat.js:583
(anonymous) @ rdd-combat.js:545
dispatch @ jquery.min.js:2
v.handle @ jquery.min.js:2

{{image.png}}

Pour que le bug soit traité, merci de préciser quelques détails. ### Environment > Indiquez quelques éléments de votre installation ![image](/uploads/35ecf57d5c0e3f9647bc2d17fdaf3d13/image.png) ![image](/uploads/d1921816510f9b6739a5835921f86902/image.png) ### Description du problème Parfois le système se bloque sur l'action encaisser, un clic dessus ne déclenche rien. Voici ce que j'ai récupéré dans la console JS : ``` rdd-combat.js:1195 RdDCombat.encaisser >>> {passeArme: "yd9b6oox2yrwktx3", coupsNonMortels: false, competence: {…}, surprise: "", surpriseDefenseur: "", …} RU69cpYnWnRwQCFN VM2137:1 Uncaught (in promise) SyntaxError: Unexpected token u in JSON at position 0 at JSON.parse (<anonymous>) at duplicate (foundry.js:978) at Function.computeChances (rdd-resolution-table.js:168) at Function.roll (rdd-resolution-table.js:111) at Function.rollData (rdd-resolution-table.js:105) at RdDCombat.computeRecul (rdd-combat.js:1159) at RdDCombat.encaisser (rdd-combat.js:1210) at RdDCombat.onEvent (rdd-combat.js:583) at HTMLAnchorElement.<anonymous> (rdd-combat.js:545) at HTMLElement.dispatch (jquery.min.js:2) duplicate @ foundry.js:978 computeChances @ rdd-resolution-table.js:168 roll @ rdd-resolution-table.js:111 rollData @ rdd-resolution-table.js:105 computeRecul @ rdd-combat.js:1159 encaisser @ rdd-combat.js:1210 onEvent @ rdd-combat.js:583 (anonymous) @ rdd-combat.js:545 dispatch @ jquery.min.js:2 v.handle @ jquery.min.js:2 ``` {{image.png}}
tyrcho commented 2021-04-25 00:44:06 +02:00 (Migrated from gitlab.com)

image

![image](/uploads/e575b431c5b10e20550e8bf9f9bd4298/image.png)
LeRatierBretonnien commented 2021-04-25 09:18:10 +02:00 (Migrated from gitlab.com)

assigned to @vincent.vandeme

assigned to @vincent.vandeme
vincent.vandeme commented 2021-04-25 14:51:16 +02:00 (Migrated from gitlab.com)

mentioned in merge request !213

mentioned in merge request !213
LeRatierBretonnien commented 2021-04-26 00:06:22 +02:00 (Migrated from gitlab.com)

mentioned in commit 40f99da8ac

mentioned in commit 40f99da8ac03db7ce8118881f58c49f05992e430
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: public/foundryvtt-reve-de-dragon#187
No description provided.