PwQt / magic-items-2

This module for Foundry VTT and specific for the DnD5e system, adds the ability to create magical items with spells or feats that belong to the item itself, such as staffs or magic wands, which will be automatically inherited from the character who owns the item.
https://github.com/PwQt/magic-items-2
MIT License
18 stars 7 forks source link

[BUG] Deletion of Settings on Edit #37

Closed RawrKrake closed 8 months ago

RawrKrake commented 9 months ago

Module Version: v0.0.0

Describe the bug When you click the edit button in the Description tab of an item, it will delete all the settings from the magic item tab. Sometimes reset it to a previous setting.

p4535992 commented 9 months ago

You mean the "standard" edit button right ?

p4535992 commented 9 months ago

Also please a favor.. click F12 and check (or do a screenshoot) of the web console logs tab and check for any red messages.

Before open any issue

1) Enable the module setting "Enable debugging" (if present) 2) Click F12 go to the console tab 3) make the test you want and replicate the error 4) Go to the tab console open on point 2) and just right click and click 'Save as' and 'Save' or send a screenshot of the exception on the console. 5) Attach the text file on the github issue with all the logs related tot he module, or send a screenshot of the messages on the console.

PwQt commented 9 months ago

No console logs - can reproduce it.

  1. Create a new blank item.
  2. Add Magic Item properties
  3. Go and edit "Main" description.
  4. Goes "automatically"/"on its own" into Magic Item tab with it being emptied.

edit: The weird thing is - it only breaks on the first time the description is opened - on 2nd it works properly

kgar commented 8 months ago

This may become fixed by #46

PwQt commented 8 months ago

Should be fixed in 1.5.0