Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

broken descriptions in foundry v12 #124

Open
Licenser opened this issue May 31, 2024 · 2 comments
Open

broken descriptions in foundry v12 #124

Licenser opened this issue May 31, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@Licenser
Copy link

Licenser commented May 31, 2024

Describe the bug

All long descriptions are only showing as [object Promise] in v12 Foundry

To Reproduce
Steps to reproduce the behavior:

  1. create a character
  2. Click on 'Extras' (or stunts)
  3. Go to edit mode
  4. See the Description be reduced to [object Promise]
  5. edit the description
  6. save the description
  7. See the Description be reduced to [object Promise] again

Expected behavior
Description texts are correctly displayed and can be edited

Screenshots or Videos
image
image
image

Desktop (please complete the following information):

  • Browser Chrome based & firefox

Additional context

The error console shows no errors just the following warning:

Error: You are accessing globalThis.duplicate which must now be accessed via foundry.utils.duplicate
Deprecated since Version 12
Backwards-compatible support will be removed in Version 14
    at Object.logCompatibilityWarning (foundry-esm.js:4598:19)
    at get (foundry-esm.js:65057:25)
    at CharacterSheet.getData (system.js:2:106817)
    at CharacterSheet._render (foundry.js:5814:29)
    at CharacterSheet._render (foundry.js:6548:17)
    at CharacterSheet._render (foundry.js:7134:17)
    at CharacterSheet._render (system.js:2:108834)
    at CharacterSheet.render (foundry.js:5769:10)
    at FateActor.render (foundry.js:10745:13)
    at FateActor.render (system.js:2:154407)
    at FateActor._onUpdateDescendantDocuments (foundry.js:11113:12)
    at FateActor._onUpdateDescendantDocuments (foundry.js:15962:11)
    at FateActor._dispatchDescendantDocumentEvents (foundry.js:11033:10)
    at #handleUpdateDocuments (foundry-esm.js:55792:15)
    at async FateItem.updateDocuments (foundry-esm.js:11384:23)
    at async FateItem.update (foundry-esm.js:11494:23)
    at async StuntSheet._onSubmit (foundry.js:6641:7)
    at async StuntSheet.saveEditor (foundry.js:6785:5)
@Licenser Licenser added the bug Something isn't working label May 31, 2024
@RinVindor
Copy link

Also seeing the same bug. Hopefully the system can be updated for v12 as myself and our group want to use the new features.

@PatrickBauer
Copy link
Contributor

Thank you, I'll have a look at this, but can't make any promises right now 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants