T
TyphonJSTyphonJS (Michael)

FQL / TextEditor enrichment issue

From @ooblekie:
can anyone give me a hand as to why the text keeps coming up as object promise in the quest log? it happens regardless of what text i put in and has only started to happen on my most recent foundry world. everything is up to date with the most recent version and i don't really know what else to try
TM
TyphonJS (Michael)239d ago
Supporting pict...
No description
TM
TyphonJS (Michael)239d ago
Initial request for information:
Hi @gebba. Strange indeed. Can you let me know your Foundry version and which game system / FQL version. The absolute latest FQL release is for v11 Foundry only. I have just tested w/ a new world w/ latest Foundry and D&D 5e system and don't see the same thing. Let me know the version numbers and details above. The code changes related to that potential result that you are seeing have been in the codebase for quite some time (Sept '22 / v10). In particular it is related to TextEditor enrichment going async / asynchronous, but this code has been working fine for a while. Once you provide the version numbers of what you are working with requested above perhaps that will give more insight on why this is occurring for you. The good thing about FQL is that it is widely used and v11 isn't new per se. If this was a widespread problem then it would have been reported by now; it is a strange occurrence. The only thing that comes to mind is that you are on v11, but have a significantly old version of FQL installed.
Response:
the foundry is on version 11 build 307, with with fql version being 0.7.12. it's working fine with my other world running pf2e and is only showing [object Promise] on my newest 5e one. cheers for the help
Hi @ooblekie. Not that this should matter, but start w/ installing Foundry v11 build 308. Also update the game system / dnd5e latest. Perhaps next make sure you disable all other modules except FQL and try to create a new quest. This is definitely odd as if this was a normal occurrence it would be highly reported. There aren't many reports of issues w/ FQL for quite some time. If you are running the latest version of Foundry and the dnd5e game system the only thing I can think of potentially is another module that does something awkward w/ overriding TextEditor / core Foundry API code. So disabling all other modules and testing again on your side is a reasonable step. I tested FQL earlier today w/ the latest versions of everything / dnd5e / new world and it worked fine, so this is a bit hard to verify when the problem isn't reproducible here. I can try and help though.
O
ooblekie239d ago
Yeah, it's a conflict with another module. Just gotta filter through them all to find which one. Thanks for the help
TM
TyphonJS (Michael)239d ago
I can help file an issue w/ the offending module by taking a look at the modules source code and providing a more detailed issue report. Feel free to drop a note here when you find out which module it might be. A relatively quick way to do this is to disable half of the modules and test; then test the other half. Then repeat that process on the half that fails until you find it. Good luck!
Want results from more Discord servers?
Add your server
More Posts
TJSDocument not working properly with Module Sub-Types (Data Models)In Foundry, modules can define a [Sub-Types](<https://foundryvtt.com/article/module-sub-types/>) usiTRL `0.1.2` - Fine Tuning releaseGreets @FVTT ▹ Developer! I have just released a fine tuning release that brings a few more featureEmbed a DropDown/MenuList made with SvelteHello again! 😄 I've been pondering creating a second module for Foundry and a few questions poppedSlide Animations for SvelteApplicationI'd like my window ( which is an EmptyApplicationShell ) to play a slide-in animation when open andBug: Multiple ProseMirror editors on same svelte component do not save properlySimple reproduction in a foundry world with at least one actor defined: ``` <svelte:options accessorSystem Works in Dev Mode but not after buildAfter updating to 0.1.1, I noticed something odd happening. The TITAN system now seems to work whenError building after updating to TRL 0.1.1Recently updated the TITAN system to TRL 0.1.1, but when I `npm run build` it errors out. Not sure wTJSApplication Character Sheet odd behavior with unlinked tokensHas anyone else experienced weird when using a TJSApplication as a character sheet with unlinked tokTJSDocumentCollection best practices?Hi! I've got a little component I'm using whose purpose is basically to just show a tiny preview of Release `TRL 0.1.1` - Patch releaseGreets @FVTT ▹ Developer! I have just released a patch / fix release that fixes a small oversight iUncaught TypeError: $storeElementRoot is undefinedHi! Encountering the following error when trying to resize an application based on a TJSApplicationSPopcorn InitiativeJust opening a forum post to track @gerark progress w/ TRL & Svelte + an initial idea of implementin