kandashi/Active-Auras

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

Opened this issue · 3 comments

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:

  • OS: Windows
  • Browser Chrome
  • Foundry Version 11
  • Module Version Apr 3
  • All Modules Disabled: No
  • Module List if no:
    Active Modules:

Active Auras v;
Automated Animations v;
Better Roofs v;
Break Time v;
Build-a-Bonus v;
Canvas Fade In and Out v;
Card Hand Mini Toolbar v;
Card Viewer v;
Chat Commander v;
Chris's Premades v;
Color Picker v;
ConversationHUD v;
Crash's Automatic Blind Rolls (5e) v;
DFreds Convenient Effects v;
DFreds Droppables v;
DFreds Effects Panel v;
Dice So Nice! v;
Dice Tray v;
DnD5e Drag Ruler Integration v;
Drag Ruler v;
Dynamic effects using Active Effects (DAE) v;
Easy Polls v;
Easy Target v;
Effect Macro v;
Encounter Statistics v;
Export Sheet to PDF v;
Forien's Copy Environment v;
Foundry Community Macros v;
Foundry Community Tables v;
Foundry Summons v;
FXMaster v;
Grid Scaler v;
Health Estimate v;
Hey, Wait! v;
Illandril's Chat Enhancements v;
Illandril's Hotbar Uses v;
Illandril's Inventory Sorter (5e) v;
Illandril's Token HUD scaler v;
Image Hover v;
Initiative Double Click v;
JB2A - Patreon Complete Collection v;
Kibbles' Casting Compendium v;
Kibbles' Compendium of Craft and Creation v;
Kibbles' Compendium of Legends and Legends v;
Kibbles' Generic Elemental Spells v;
Less Fog v;
lib - Color Settings v;
libWrapper v;
Magic Items 2 v;
Midi QOL v;
Midi SRD v;
Minimal UI v;
Monk's Active Tile Triggers v;
Monk's Bloodsplats v;
Monk's Chat Timer v;
Monk's Combat Details v;
Monk's Combat Marker v;
Monk's Hotbar Expansion v;
Monk's Little Details v;
Monk's Player Settings v;
Monk's Scene Navigation v;
Monk's TokenBar v;
Ownership Viewer v;
Perceptive v;
Quick Insert - Search Widget v;
✋ Raise My Hand v;
Rest Recovery for 5E v;
Sequencer v;
Settings Extender v;
Show Notes v;
Simple Calendar v;
socketlib v;
SortableJS v;
Splatter v;
Tagger v;
Template Macro v;
Tension Pool v;
TheRipper93's Module Hub v;
Tidy UI - Game Settings v;
Tile Scroll v;
Times Up v;
Token Action HUD Core v;
Token Action HUD D&D 5e v;
Token Attacher v;
Token Magic FX v;
Token Says v;
Token Z v;
Wall Height v;
Warp Gate v;
World Scripter v;

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

Link with Undefined ID #285 ?

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.

I added some reproduction information to #285.