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
World Anvil API changes have caused downstream failures in the Foundry VTT module for content import and image URLs. #54
Comments
I'm having the same exact issue too, yesterday. |
Yes, the module is no longer working since the latest update for me, either. Images don't get imported at all, and texts are missing everywhere. Please fix. :-( |
Ditto. Not working in the exact same way. |
I have raised some questions with the World Anvil team to get a bit of clarification on this matter: I am seeing a number of reports of issues with the World Anvil module for Foundry VTT that seem to be due to some API changes where I probably need some help to understand what has changed.
|
In particular for the second issue about images, I am seeing that
I was previously using |
The content import issues are fixed with release |
Confirmed working, but with a note: |
Article content import should be working with the new |
Content import is still not working for me after the latest update. |
This is due to a limitation of the World Anvil API which is documented in #15. Merging your comment over there as additional evidence. |
I'm using v1.4.1 of this module and assuming that this issue is tracking what I see where the sections are not showing up at all. World Anvil's templates (like "organization") have pre-defined sections, which I've found to be useful prompts while world-building. However, it doesn't appear that this integration parses that data into the journal entries like I'd expect. Looking at the API response from World Anvil, I can guess at why and it seems to be related to this. In the screenshot above, we see several of these section objects (like "culture" and "demonym") each with a Related to the titles (which seems to be what much of this Issue is describing), interestingly, the My questions here are:
Thank you and looking forward to your reply! |
Hey @wdawson - this is interesting. I'm not sure why those sections ( The code to handle this is here: https://github.com/foundryvtt/world-anvil/blob/master/module/framework.js#L273 It tries to include everything under If you have a bit of proficiency with JavaScript or web development, I would suggest you try debugging in the |
@aaclayton I think I found the bug. The sections were being added to As written, it's looking in the wrong place for existing page data. I think it should be: pages.html[pageName] = pages.html[pageName] ?? ""; Easy mistake I've made many times. I'd be happy to submit a PR for this but will take me a while to get setup with the environment and everything. Any chance for a quick fix on your side? Also happy to open a separate issue for this if you need. |
As discussed here: foundryvtt#54 (comment)
Resolved in release |
Numerous users on reddit and the FVTT discord are reporting issues similar to this one. Suspect there may have been an API change at WA, may need a reach out to Dimitris.
The text was updated successfully, but these errors were encountered: