RPTools / maptool

Virtual Tabletop for playing roleplaying games with remote players or face to face.
http://rptools.net
GNU Affero General Public License v3.0
782 stars 259 forks source link

[Bug 1.14.3]: Imported Maps reset token types to Basic #4607

Open aliasmask opened 8 months ago

aliasmask commented 8 months ago

Describe the Bug

Tokens imported in to campaign have their token types reset to Basic. This does not happen in 1.13.2.

To Reproduce

Open an existing campaign and export a map that has custom token types defined. Rename or remove that map. Import the map.

All token types have been reset to Basic.

Expected Behaviour

Token types should remain the same unless no longer defined in current campaign.

Screenshots

No response

MapTool Info

1.14.3

Desktop

Windows 11

Additional Context

Any campaign should work, but you can use the basic Pathfinder/3.5 as an example: https://drive.google.com/file/d/18ftvE-__55urP6UhYqY0RJk_lgiWBKw4/view?usp=sharing

aliasmask commented 8 months ago

First reported in Discord here: https://discord.com/channels/296230822262865920/296657960720007169/1191657667496771675

Pmofmalasia commented 1 month ago

Possibly related - I have noticed that importing campaign properties also resets tokens to the default property type, even if their property type is present in imported properties.

SherbanWisperwald commented 1 week ago

I checked the exported .rpmap file, it contains the correct propertyType per token. That means the import is broken.