foundryvtt-forien-quest-log
foundryvtt-forien-quest-log copied to clipboard
[BUG] Unexpected end of JSON input error after saving description of a quest
Module Version: v0.5.1
Describe the bug
quest.mjs:408 SyntaxError: Unexpected end of JSON input
at JSON.parse (<anonymous>)
at Function.getContent (quest.mjs:404)
at quest.mjs:432
at Array.forEach (<anonymous>)
at Function.getQuests (quest.mjs:431)
at QuestLog.getData (quest-log.mjs:47)
at QuestLog._render (foundry.js:4434)
at QuestLog.render (foundry.js:4404)
at Function.refreshQuestLog (socket.mjs:7)
at QuestPreview.refresh (quest-preview.mjs:189)
To Reproduce Steps to reproduce the behavior:
- Go to a Quest / Make a new Quest
- Click on Description, add some text. Save the text.
- See error
Expected behavior No errors when editing a quest and saving the description.
Screenshots
Browser: Foundry client
Foundry Version: Foundry: 0.7.5
Game System: DnD5e: 0.98
Seems to be related to https://github.com/Forien/foundryvtt-forien-quest-log/issues/96