morepurplemorebetter / MPMBs-Character-Record-Sheet

MorePurpleMoreBetter's D&D 5e Character Record Sheet
https://www.flapkan.com
GNU General Public License v3.0
372 stars 352 forks source link

Sheet hangs when changing half-drow racial options #4

Closed jstrobush closed 7 years ago

jstrobush commented 7 years ago

Issue: While building a character, I found myself in a situation where the sheet hung and never recovered. Restarting the sheet caused the racial options block to be blank, and any attempts to change this via the racial options button resulted in the same behavior.

Reproduction steps, starting with a new sheet:

At this point the sheet will show its status as "Updating Half-Drow's Faerie Fire" and will never return.

Adobe Acrobat's JavaScript console logs the following error:

TypeError: CurrentSpells[CurrentRace.known] is undefined
5668:Document-Level:Functions

Version information:

Sheet version: v12.87

Adobe Acrobat Reader DC Version: 2015.023.20056 Architecture: x86_64 Build: 15.23.20056.213124 AGM: 4.30.67 CoolType: 5.14.5 JP2K: 1.2.2.37658

morepurplemorebetter commented 7 years ago

Thank you for reporting this issue. It hangs when switching from one racial variant to another, given that the first variant has spellcasting features at the current character's level.

I have fixed it here, which will be included in v12.88