Token migrations for v11
Intent
In Foundry v11, items on unlinked tokens had their UUIDs changed. It used to be of form "Scene.id.Token.id.Item.id", and now it is of form "Scene.id.Token.id.Actor.id.Item.id". Notice the "Actor.id" that was added. Hopefully this MR migrates that in all the places we track uuids.
-
This is meant for a hotfix -
This is meant for the next release (see milestone) -
This needs more reviewers than normal; there may be controversy or high complexity -
This intentionally introduces regressions that will be addressed later -
There is/will be documentation changes on the wiki -
Please do not send commits here without coordinating closely with the owner -
This is a Build System change
Related Issues
Steps to Test
- Create a world in v10,
- Create a scene with an unlinked mook token and an unlinked character token.
- To both tokens, add a weapon and load some ammo.
- Add an item and install some item upgrades into it.
- Add cyberware and install it into the actor (like a cyberarm).
- Install other cyberware into that cyberware.
- Add cyberdeck and install programs (and upgrades).
- Zip up this world for later use.
- In Master, migrate world to 0.88/FVTT v11.
- Observe that unlinked mook sheets will not open.
- Observe that character sheets may open, but installed items probably disappeared/lost their connection.
- Delete botched world.
- Unzip earlier v10 world.
- Checkout
jalenml/fix-token-migration-v11
, migrate to 0.88/FVTT v11. - Ensure that unlinked mook sheets open.
- Ensure installed items all work as expected.