kandashi / Active-Auras

MIT License
29 stars 36 forks source link

ERROR CAUGHT in RemoveActiveEffects Error: Undefined id does not exist in embeddedCollection collection #319

Open mvanduijvenvoorde opened 4 months ago

mvanduijvenvoorde commented 4 months ago

Describe the bug At FoundryVTT startup I get the following errors. One of my players is a Paladin and has 2 active auras.

To Reproduce Startup FoundryVTT active_auras_error

Expected behavior No error on startup FoundryVTT

Screenshots See attachment

Environment:

Inactive Modules:

Active Token Effects v; Advanced Macros v; Automated Evocations - Companion Manager v; Better Roll Tables v; Card Tiles v; D&D5e Animations v; DF Chat Enhancements v; Drag Upload (Get Over Here!) v; EasyTable by Blitz v; GM Notes v; Item Macro v; Item Piles v; Jack Kerouac's Animated Spell Effects v; Kibbles' Feat Compendium v; Let Me Roll That For You! v; LightsHUD+ATE v; Lock View v; Magic Items v; Mob Attack Tool v; Plutonium v; Plutonium Addon: Automation v; Portal v; Select tool everywhere v; SoundFx Library v; Tidy 5e Sheets v; Universal Animations v; Vision 5e v;

Additional context gger.mjs:62 ActiveAuras | ERR > ERROR CAUGHT in RemoveActiveEffects Error: undefined id [pXshtCP0CtcsKXOJ] does not exist in the EmbeddedCollection collection. at EmbeddedCollection.get (/E:/FoundryVTT/Foundry%20Virtual%20Tabletop/resources/app/common/abstract/embedded-collection.mjs:164:36) at /E:/FoundryVTT/Foundry%20Virtual%20Tabletop/resources/app/dist/database/backend/server-backend.mjs:1:5212 at Array.map () at ServerDatabaseBackend._deleteDocuments (/E:/FoundryVTT/Foundry%20Virtual%20Tabletop/resources/app/dist/database/backend/server-backend.mjs:1:5202) at ServerDatabaseBackend.delete (/E:/FoundryVTT/Foundry%20Virtual%20Tabletop/resources/app/common/abstract/backend.mjs:182:17) at async Semaphore._try (/E:/FoundryVTT/Foundry%20Virtual%20Tabletop/resources/app/common/utils/semaphore.mjs:101:17) l

mvanduijvenvoorde commented 4 months ago

Link with Undefined ID #285 ?

MrPrimate commented 4 months ago

I'm going to need more details on how to reliably replicate this, and with only the one or two modules needed for those aura effects.

mrguenther commented 2 months ago

I added some reproduction information to #285.