Fix Foundry v14 actor ownership updates
This commit is contained in:
1 parent
17b06810c8
commit
b70f10dd38
5 files changed
+64
-16
No files matched your search
@@ -1,4 +1,4 @@
|
||||
# Player Workshop 2.0.0
|
||||
# Player Workshop 2.0.1
|
||||
|
||||
Player Workshop is a standalone Foundry VTT module for player-owned D&D characters, homebrew, and artwork. GM setup creates a shared Testing Grounds scene and personal folders. Players use the normal D&D5e sheets for character creation and advancement, and **Player Vault** for organization, artwork, publishing, and exports.
|
||||
|
||||
@@ -7,6 +7,8 @@ Player Workshop is a standalone Foundry VTT module for player-owned D&D characte
|
||||
- **Author** — CheddahBoxMB.
|
||||
- **Install and update** — Follow [INSTALL.md](INSTALL.md) for Gitea, manual installation, and the test-world checklist.
|
||||
|
||||
Version 2.0.1 fixes a Foundry v14 ownership validation error during named Phandelver setup. The module replaces each affected actor's ownership map and moves that actor in one document update, preserving its ID.
|
||||
|
||||
## At the table
|
||||
|
||||
Open **Player Vault** from the Actors sidebar or the Player Workshop settings menu. The vault lists world actors and items for which your account has explicit Owner access. After GM setup, new root-level PCs and items created by provisioned players are filed in their personal folders. Players can also organize owned actors, upload and assign images, and place their own tokens in Testing Grounds using Foundry's native permissions.
|
||||
@@ -36,13 +38,14 @@ git archive --format=zip --output=../player-workshop-release/player-workshop.zip
|
||||
unzip -t ../player-workshop-release/player-workshop.zip
|
||||
```
|
||||
|
||||
Upload `player-workshop.zip` as a Gitea release attachment and verify the raw manifest and ZIP URLs from the Foundry host. Use the ZIP attached to this package for the initial `v2.0.0` release.
|
||||
Upload `player-workshop.zip` as a Gitea release attachment and verify the raw manifest and ZIP URLs from the Foundry host.
|
||||
|
||||
## Validation for this build
|
||||
|
||||
All 15 Node tests pass. The checks cover setup planning and reruns, routing, ownership, ZIP round trips, validation of incoming archive data, and embedded ID options on vault import. The release ZIP was checked after extraction, including all eight JavaScript files and the root manifest. The regression test for imported IDs fails against the previous build and passes with this one. A live Foundry test on a duplicate world remains pending. See [INSTALL.md](INSTALL.md#4-test-on-a-duplicate-world) for the GM and player checks.
|
||||
All 16 Node tests pass. The ownership regression test rejects the update shape used in 2.0.0 and confirms that 2.0.1 moves the same actor and assigns the intended owners. The other checks cover setup planning and reruns, routing, ZIP round trips, incoming archive validation, and embedded ID options on vault import. The release ZIP was checked after extraction, including all eight JavaScript files and the root manifest. Live testing of the fix on Foundry 14.371 remains pending. See [INSTALL.md](INSTALL.md#4-test-on-a-duplicate-world) for the GM and player checks.
|
||||
|
||||
- [Foundry VTT 14.371](https://foundryvtt.com/releases/14.371)
|
||||
- [Official D&D5e system](https://foundryvtt.com/packages/dnd5e)
|
||||
- [Foundry module manifest and archive](https://foundryvtt.com/article/module-development/)
|
||||
- [Foundry v14 document update operators](https://foundryvtt.com/api/v14/modules/foundry.documents.html)
|
||||
- [Foundry v14 document creation options](https://foundryvtt.com/api/v14/interfaces/foundry.abstract.types.DatabaseCreateOperation.html)
|
||||
Reference in new issue
Block a user