fantasycalendar / FoundryVTT-Tagger

Other
6 stars 4 forks source link

Import from compendium actors does not retain actor prototype tags #29

Open ae0n5105 opened 1 year ago

ae0n5105 commented 1 year ago

Describe the bug When importing an actor from a compendium, prototype token tags applied within the compendium are not imported/retained requiring readd of the tags on the now imported actor prototype token.

To Reproduce Steps to reproduce the behavior:

  1. open the SRD actors compendium (not locked)
  2. open the actors "prototype token" settings
  3. Add a custom tag and close the actor
  4. reopen the actor and confirm the Tag is present in the compendium actor prototype token settings
  5. import the token into the active world
  6. open the actor sheet -- prototype token settings
  7. note that no tags are present.

Expected behavior when importing an actor from a compendium, any tags saved within the actors prototype token settings should be kept on the imported actor.

Screenshots

compendium actor prototype settings WITH tags image

Imported actor WITHOUT tags image

Setup:

Active modules:

Additional context tested with SRD actors (acolyte SRD, dragonborn cleric) and added a tag, imported confirmed prototype token tag was missing after import. I save actors to compendiums and delete them from the world for performance reasons (to keep overall content minimal for my players to have to download), because of this I have to reapply Tags each time I import them.

ae0n5105 commented 1 year ago

I was able to reliably recreate this on current foundry with minimal modules, via an SRD actor within the standard SRD compendium (Unlocked).