-
Notifications
You must be signed in to change notification settings - Fork 13
Description
Describe the bug
The Generate Mapping config button generates an error because it tries to load a js file that does not exist for PF2e.
To Reproduce
Steps to reproduce the behavior:
- Using the P2Fe Game System...
- Go to 'Foundry | Game Settings | Configure Game Settings | Sheet Export'
- Click on 'Generate Mapping'
- Look at the console logs
- See error
foundry.js:5826 Foundry VTT | Rendering MappingEdit
mappingEdit.js:34 getData
mappingEdit.js:35 ||||||||||||MappingEdit||||||||||||||
foundry.js:655 Error: An error occurred while rendering MappingEdit 31. Directory modules/sheet-export/mappings/pf2e/standard/latest does not exist or is not accessible in this storage location
[No packages detected]
at Hooks.onError (foundry.js:654:24)
at 🎁Hooks.onError#0 (libWrapper-wrapper.js:188:54)
at foundry.js:5795:13
Expected behavior
We expect it to load the player.js file (but the player.js file is installed in a different location).
i.e. the module is trying to load modules/sheet-export/mappings/pf2e/standard/latest/player.js, but that file does not exist.
The p2fe player.js is currently installed in modules/sheet-export/mappings/pf2e/remastered/latest/player.js
Renaming the existing "remastered" directory to "standard" in the filesystem is a work around.
Desktop:
- OS: Linux
- Browser: Whatever Chrome foundry is using Foundry v12 Stable Build 331.
- Version: from the log..
navigator.userAgent
'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) FoundryVirtualTabletop/12.331.0 Chrome/122.0.6261.156 Electron/29.4.0 Safari/537.36'