Inventory/Equipment Changes Do Not Update Until Relaunching World

Issue #338 resolved
Reid Werner created an issue
  1. Using FoundryVTT Version 11 Stable - Build 305. Version of Obsidian: 6.5.9. Version of dnd5e: 2.2.2
  2. It is a bug, I created a new world and the issue persisted.
  3. This is the console log from the new world with no other modules enabled. The only time I got an error was when I tried to create a new custom item.

Foundry VTT | Rendering ObsidianCharacter
foundry.js:7651 Foundry VTT | Retrieved and compiled template templates/app-window.html
foundry.js:5775 Foundry VTT | Rendering ObsidianCharacter
foundry.js:5775 Foundry VTT | Rendering ObsidianViewDialog
foundry.js:7651 Foundry VTT | Retrieved and compiled template modules/obsidian/html/dialogs/weapon-view.html
foundry.js:5775 Foundry VTT | Rendering ObsidianViewDialog
foundry.js:5775 Foundry VTT | Rendering ObsidianEffectSheet
foundry.js:7651 Foundry VTT | Retrieved and compiled template modules/obsidian/html/sheets/effect.html
commons.js:8711 Foundry VTT | Created Item with id [q9BKDOy63JJxwtvG] in parent Actor [rDGst3NZKj7TzdfW]
commons.js:8711 Foundry VTT | Created Item with id [F8rKygjduOw53GeS] in parent Actor [rDGst3NZKj7TzdfW]
foundry.js:5775 Foundry VTT | Rendering ObsidianEffectSheet
foundry.js:5775 Foundry VTT | Rendering ObsidianViewDialog
foundry.js:7651 Foundry VTT | Retrieved and compiled template modules/obsidian/html/dialogs/backpack-view.html
foundry.js:5775 Foundry VTT | Rendering ObsidianViewDialog
commons.js:8711 Foundry VTT | Created Item with id [LpOislOw8gu0PeAB] in parent Actor [rDGst3NZKj7TzdfW]
commons.js:8711 Foundry VTT | Created Item with id [q7gqydpzRxpW8tV0] in parent Actor [rDGst3NZKj7TzdfW]
foundry.js:7651 Foundry VTT | Retrieved and compiled template modules/obsidian/html/dialogs/new-item.html
foundry.js:5775 Foundry VTT | Rendering Dialog
foundry.js:7651 Foundry VTT | Retrieved and compiled template templates/hud/dialog.html
commons.js:2004 Error: You are using FormDataExtended#toObject which is deprecated in favor of FormDataExtended#object
Deprecated since Version 10
Backwards-compatible support will be removed in Version 12
at Object.logCompatibilityWarning (commons.js:1993:19)
at FormDataExtended.toObject (foundry.js:67786:19)
at Dialog.callback (sheet.js:355:59)
at Dialog.submit (foundry.js:64942:46)
at Dialog._onClickButton (foundry.js:64870:10)
at HTMLButtonElement.dispatch (jquery.min.js:2:43184)
at y.handle (jquery.min.js:2:41168)
logCompatibilityWarning @ commons.js:2004
toObject @ foundry.js:67786
callback @ sheet.js:355
submit @ foundry.js:64942
_onClickButton @ foundry.js:64870
dispatch @ jquery.min.js:2
y.handle @ jquery.min.js:2
foundry.js:5775 Foundry VTT | Rendering ObsidianEffectSheet
commons.js:8711 Foundry VTT | Created Item with id [DbLBQkoL1zTyuVL8] in parent Actor [rDGst3NZKj7TzdfW]

4. I opened the Obsidian Character Sheet of a PC and moved some equipment around into a backpack.

5. I expected the item to be moved under the backpack’s section.

6. Visually nothing occured and the character sheet would not display any updates to the inventory/equipment. Essentially I have to reload the world to have these changes be reflected. Do note as well that if I view the contents of a backpack by right clicking it and selecting view, it shows the items in the separate bag dialogue box as it should, just not in the overall inventory list.

Comments (7)

  1. Kim Mantas repo owner

    Can you confirm that you’re not getting any errors about about ‘max depth exceeded’?

  2. Reid Werner reporter

    I tried it again (issue still occured), but the only error I get (outside of 2 font warnings when loading the world) is when I create a new custom item. Here is the entire log after trying again (I only launched Foundry, loaded empty world with only obsidian active, tried to do inventory stuff).

    Foundry VTT | Foundry Commons Framework Loaded
    foundry.js:90879 Foundry VTT | Before DOMContentLoaded
    foundry.js:90888 _______________________________________________________________
     _____ ___  _   _ _   _ ____  ______   __ __     _______ _____ 
    |  ___/ _ \| | | | \ | |  _ \|  _ \ \ / / \ \   / |_   _|_   _|
    | |_ | | | | | | |  \| | | | | |_) \ V /   \ \ / /  | |   | |  
    |  _|| |_| | |_| | |\  | |_| |  _ < | |     \ V /   | |   | |  
    |_|   \___/ \___/|_| \_|____/|_| \_\|_|      \_/    |_|   |_|  
    ===============================================================
    foundry.js:90898 Foundry VTT | Reestablishing existing session 2bc67927c670bfaa87cbb31f
    foundry.js:8505 Foundry VTT | Connected to server socket using session 2bc67927c670bfaa87cbb31f
    foundry.js:8601 Foundry VTT | Initializing Foundry Virtual Tabletop Game
    dnd5e.mjs? [sm]:46 DnD5e | Initializing the DnD5e Game System - Version 2.2.2
    _______________________________
    ______      ______ _____ _____
    |  _  \___  |  _  \  ___|  ___|
    | | | ( _ ) | | | |___ \| |__
    | | | / _ \/\ | | |   \ \  __|
    | |/ / (_>  < |/ //\__/ / |___
    |___/ \___/\/___/ \____/\____/
    _______________________________
    foundry.js:3611 Foundry VTT | Synchronized official game time in 4ms
    2foundry.js:7651 Foundry VTT | Retrieved and compiled template systems/dnd5e/templates/actors/parts/active-effects.hbs
    2foundry.js:7651 Foundry VTT | Retrieved and compiled template systems/dnd5e/templates/apps/parts/trait-list.hbs
    2foundry.js:7651 Foundry VTT | Retrieved and compiled template systems/dnd5e/templates/actors/parts/actor-traits.hbs
    foundry.js:7502 Foundry VTT | Loaded localization file lang/en.json
    foundry.js:7502 Foundry VTT | Loaded localization file systems/dnd5e/lang/en.json
    2foundry.js:7651 Foundry VTT | Retrieved and compiled template systems/dnd5e/templates/actors/parts/actor-inventory.hbs
    foundry.js:7651 Foundry VTT | Retrieved and compiled template systems/dnd5e/templates/actors/parts/actor-features.hbs
    foundry.js:7502 Foundry VTT | Loaded localization file modules/obsidian/lang/en.json
    foundry.js:7651 Foundry VTT | Retrieved and compiled template systems/dnd5e/templates/actors/parts/actor-features.hbs
    2foundry.js:7651 Foundry VTT | Retrieved and compiled template systems/dnd5e/templates/actors/parts/actor-spellbook.hbs
    2foundry.js:7651 Foundry VTT | Retrieved and compiled template systems/dnd5e/templates/actors/parts/actor-warnings.hbs
    2foundry.js:7651 Foundry VTT | Retrieved and compiled template systems/dnd5e/templates/items/parts/item-action.hbs
    2foundry.js:7651 Foundry VTT | Retrieved and compiled template systems/dnd5e/templates/items/parts/item-activation.hbs
    2foundry.js:7651 Foundry VTT | Retrieved and compiled template systems/dnd5e/templates/items/parts/item-advancement.hbs
    2foundry.js:7651 Foundry VTT | Retrieved and compiled template systems/dnd5e/templates/items/parts/item-description.hbs
    2foundry.js:7651 Foundry VTT | Retrieved and compiled template systems/dnd5e/templates/items/parts/item-mountable.hbs
    2foundry.js:7651 Foundry VTT | Retrieved and compiled template systems/dnd5e/templates/items/parts/item-spellcasting.hbs
    2foundry.js:7651 Foundry VTT | Retrieved and compiled template systems/dnd5e/templates/items/parts/item-summary.hbs
    2foundry.js:7651 Foundry VTT | Retrieved and compiled template systems/dnd5e/templates/journal/parts/journal-table.hbs
    2foundry.js:7651 Foundry VTT | Retrieved and compiled template systems/dnd5e/templates/advancement/parts/advancement-controls.hbs
    2foundry.js:7651 Foundry VTT | Retrieved and compiled template systems/dnd5e/templates/advancement/parts/advancement-spell-config.hbs
    foundry.js:7651 Foundry VTT | Retrieved and compiled template modules/obsidian/html/components/spell-list.html
    foundry.js:7651 Foundry VTT | Retrieved and compiled template modules/obsidian/html/components/spell-card.html
    foundry.js:7651 Foundry VTT | Retrieved and compiled template modules/obsidian/html/components/inventory.html
    foundry.js:7651 Foundry VTT | Retrieved and compiled template modules/obsidian/html/components/consumable.html
    foundry.js:7651 Foundry VTT | Retrieved and compiled template modules/obsidian/html/components/container.html
    foundry.js:7651 Foundry VTT | Retrieved and compiled template modules/obsidian/html/components/equipment.html
    foundry.js:7651 Foundry VTT | Retrieved and compiled template modules/obsidian/html/components/feature.html
    foundry.js:7651 Foundry VTT | Retrieved and compiled template modules/obsidian/html/components/spell.html
    foundry.js:7651 Foundry VTT | Retrieved and compiled template modules/obsidian/html/components/weapon.html
    foundry.js:7651 Foundry VTT | Retrieved and compiled template modules/obsidian/html/components/tool.html
    foundry.js:7651 Foundry VTT | Retrieved and compiled template modules/obsidian/html/components/loot.html
    foundry.js:7651 Foundry VTT | Retrieved and compiled template modules/obsidian/html/components/saves-part.html
    foundry.js:7651 Foundry VTT | Retrieved and compiled template modules/obsidian/html/components/features.html
    foundry.js:7651 Foundry VTT | Retrieved and compiled template modules/obsidian/html/components/mountable.html
    foundry.js:7651 Foundry VTT | Retrieved and compiled template modules/obsidian/html/components/effects/resource.html
    foundry.js:7651 Foundry VTT | Retrieved and compiled template modules/obsidian/html/components/effects/attack.html
    foundry.js:7651 Foundry VTT | Retrieved and compiled template modules/obsidian/html/components/effects/damage.html
    foundry.js:7651 Foundry VTT | Retrieved and compiled template modules/obsidian/html/components/effects/save.html
    foundry.js:7651 Foundry VTT | Retrieved and compiled template modules/obsidian/html/components/effects/scaling.html
    foundry.js:7651 Foundry VTT | Retrieved and compiled template modules/obsidian/html/components/effects/target.html
    foundry.js:7651 Foundry VTT | Retrieved and compiled template modules/obsidian/html/components/effects/consume.html
    foundry.js:7651 Foundry VTT | Retrieved and compiled template modules/obsidian/html/components/effects/produce.html
    foundry.js:7651 Foundry VTT | Retrieved and compiled template modules/obsidian/html/components/effects/spells.html
    foundry.js:7651 Foundry VTT | Retrieved and compiled template modules/obsidian/html/components/effects/roll-mod.html
    foundry.js:7651 Foundry VTT | Retrieved and compiled template modules/obsidian/html/components/effects/roll-mod-body.html
    foundry.js:7651 Foundry VTT | Retrieved and compiled template modules/obsidian/html/components/effects/filter.html
    foundry.js:7651 Foundry VTT | Retrieved and compiled template modules/obsidian/html/components/effects/bonus.html
    foundry.js:7651 Foundry VTT | Retrieved and compiled template modules/obsidian/html/components/effects/bonus-body.html
    foundry.js:7651 Foundry VTT | Retrieved and compiled template modules/obsidian/html/components/effects/duration.html
    foundry.js:7651 Foundry VTT | Retrieved and compiled template modules/obsidian/html/components/effects/expression.html
    foundry.js:7651 Foundry VTT | Retrieved and compiled template modules/obsidian/html/components/effects/applied.html
    foundry.js:7651 Foundry VTT | Retrieved and compiled template modules/obsidian/html/components/effects/defense.html
    foundry.js:7651 Foundry VTT | Retrieved and compiled template modules/obsidian/html/components/effects/setter.html
    foundry.js:5775 Foundry VTT | Rendering SceneNavigation
    foundry.js:5775 Foundry VTT | Rendering Notifications
    foundry.js:5775 Foundry VTT | Rendering Sidebar
    foundry.js:5775 Foundry VTT | Rendering PlayerList
    foundry.js:5775 Foundry VTT | Rendering Hotbar
    foundry.js:5775 Foundry VTT | Rendering Pause
    foundry.js:5775 Foundry VTT | Rendering SceneControls
    foundry.js:72751 Font family "Amiri" failed to load.
    loadFont @ foundry.js:72751
    foundry.js:72751 Font family "Bruno Ace" failed to load.
    loadFont @ foundry.js:72751
    foundry.js:7651 Foundry VTT | Retrieved and compiled template modules/obsidian/html/components/effects/description.html
    foundry.js:7651 Foundry VTT | Retrieved and compiled template modules/obsidian/html/components/effects/check.html
    foundry.js:7651 Foundry VTT | Retrieved and compiled template modules/obsidian/html/components/effects/roll-table.html
    foundry.js:7651 Foundry VTT | Retrieved and compiled template modules/obsidian/html/components/effects/multiplier.html
    foundry.js:7651 Foundry VTT | Retrieved and compiled template modules/obsidian/html/components/effects/summon.html
    foundry.js:7651 Foundry VTT | Retrieved and compiled template modules/obsidian/html/components/effects/condition.html
    foundry.js:7651 Foundry VTT | Retrieved and compiled template modules/obsidian/html/components/effects/item.html
    foundry.js:7651 Foundry VTT | Retrieved and compiled template modules/obsidian/html/components/effects/extra-damage.html
    foundry.js:7651 Foundry VTT | Retrieved and compiled template modules/obsidian/html/components/parts/weight-cost.html
    foundry.js:7651 Foundry VTT | Retrieved and compiled template modules/obsidian/html/components/parts/magic.html
    foundry.js:7651 Foundry VTT | Retrieved and compiled template templates/hud/toolclip.html
    foundry.js:7651 Foundry VTT | Retrieved and compiled template templates/hud/navigation.html
    foundry.js:7651 Foundry VTT | Retrieved and compiled template templates/sidebar/sidebar.html
    foundry.js:5775 Foundry VTT | Rendering ChatLog
    foundry.js:5775 Foundry VTT | Rendering CombatTracker5e
    foundry.js:5775 Foundry VTT | Rendering Settings
    foundry.js:7651 Foundry VTT | Retrieved and compiled template templates/user/players.html
    foundry.js:7651 Foundry VTT | Retrieved and compiled template templates/hud/hotbar.html
    foundry.js:7651 Foundry VTT | Retrieved and compiled template templates/hud/pause.html
    foundry.js:7651 Foundry VTT | Retrieved and compiled template modules/obsidian/html/obsidian.html
    foundry.js:7651 Foundry VTT | Retrieved and compiled template modules/obsidian/html/limited.html
    foundry.js:7651 Foundry VTT | Retrieved and compiled template modules/obsidian/html/npc.html
    foundry.js:7651 Foundry VTT | Retrieved and compiled template modules/obsidian/html/npc-limited.html
    foundry.js:7651 Foundry VTT | Retrieved and compiled template modules/obsidian/html/vehicle.html
    foundry.js:7651 Foundry VTT | Retrieved and compiled template modules/obsidian/html/vehicle-limited.html
    foundry.js:7651 Foundry VTT | Retrieved and compiled template modules/obsidian/html/tabs/actions.html
    foundry.js:7651 Foundry VTT | Retrieved and compiled template modules/obsidian/html/tabs/attacks.html
    foundry.js:7651 Foundry VTT | Retrieved and compiled template modules/obsidian/html/tabs/sub-actions.html
    foundry.js:7651 Foundry VTT | Retrieved and compiled template modules/obsidian/html/tabs/spells.html
    foundry.js:7651 Foundry VTT | Retrieved and compiled template modules/obsidian/html/tabs/sub-spells.html
    foundry.js:7651 Foundry VTT | Retrieved and compiled template modules/obsidian/html/tabs/equipment.html
    foundry.js:7651 Foundry VTT | Retrieved and compiled template modules/obsidian/html/tabs/features.html
    foundry.js:7651 Foundry VTT | Retrieved and compiled template modules/obsidian/html/tabs/sub-features.html
    foundry.js:7651 Foundry VTT | Retrieved and compiled template modules/obsidian/html/tabs/notes.html
    foundry.js:7651 Foundry VTT | Retrieved and compiled template modules/obsidian/html/tabs/effects.html
    foundry.js:7651 Foundry VTT | Retrieved and compiled template modules/obsidian/html/tabs/layout.html
    foundry.js:7651 Foundry VTT | Retrieved and compiled template templates/hud/controls.html
    foundry.js:7651 Foundry VTT | Retrieved and compiled template templates/sidebar/partials/document-partial.html
    foundry.js:7651 Foundry VTT | Retrieved and compiled template templates/sidebar/folder-partial.html
    foundry.js:5775 Foundry VTT | Rendering ActorDirectory
    foundry.js:7651 Foundry VTT | Retrieved and compiled template templates/sidebar/partials/document-partial.html
    foundry.js:7651 Foundry VTT | Retrieved and compiled template templates/sidebar/folder-partial.html
    foundry.js:5775 Foundry VTT | Rendering CardsDirectory
    foundry.js:7651 Foundry VTT | Retrieved and compiled template templates/sidebar/partials/pack-partial.html
    foundry.js:7651 Foundry VTT | Retrieved and compiled template templates/sidebar/folder-partial.html
    foundry.js:5775 Foundry VTT | Rendering CompendiumDirectory
    foundry.js:7651 Foundry VTT | Retrieved and compiled template templates/sidebar/partials/document-partial.html
    foundry.js:7651 Foundry VTT | Retrieved and compiled template templates/sidebar/folder-partial.html
    foundry.js:5775 Foundry VTT | Rendering ItemDirectory
    foundry.js:7651 Foundry VTT | Retrieved and compiled template templates/sidebar/partials/document-partial.html
    foundry.js:7651 Foundry VTT | Retrieved and compiled template templates/sidebar/folder-partial.html
    foundry.js:5775 Foundry VTT | Rendering JournalDirectory
    foundry.js:7651 Foundry VTT | Retrieved and compiled template templates/sidebar/partials/playlist-partial.html
    foundry.js:7651 Foundry VTT | Retrieved and compiled template templates/sidebar/folder-partial.html
    foundry.js:5775 Foundry VTT | Rendering PlaylistDirectory
    foundry.js:7651 Foundry VTT | Retrieved and compiled template templates/sidebar/scene-partial.html
    foundry.js:7651 Foundry VTT | Retrieved and compiled template templates/sidebar/folder-partial.html
    foundry.js:5775 Foundry VTT | Rendering SceneDirectory
    foundry.js:7651 Foundry VTT | Retrieved and compiled template templates/sidebar/partials/document-partial.html
    foundry.js:7651 Foundry VTT | Retrieved and compiled template templates/sidebar/folder-partial.html
    foundry.js:5775 Foundry VTT | Rendering RollTableDirectory
    foundry.js:7651 Foundry VTT | Retrieved and compiled template templates/sidebar/chat-log.html
    foundry.js:7651 Foundry VTT | Retrieved and compiled template templates/sidebar/combat-tracker.html
    foundry.js:7651 Foundry VTT | Retrieved and compiled template templates/sidebar/settings.html
    2foundry.js:7651 Foundry VTT | Retrieved and compiled template templates/sidebar/document-directory.html
    foundry.js:7651 Foundry VTT | Retrieved and compiled template templates/sidebar/compendium-directory.html
    2foundry.js:7651 Foundry VTT | Retrieved and compiled template templates/sidebar/document-directory.html
    foundry.js:7651 Foundry VTT | Retrieved and compiled template templates/sidebar/playlists-directory.html
    2foundry.js:7651 Foundry VTT | Retrieved and compiled template templates/sidebar/document-directory.html
    foundry.js:72778 Foundry VTT | Fonts loaded and ready.
    foundry.js:26553 Foundry VTT | Skipping game canvas - no active scene.
    foundry.js:5775 Foundry VTT | Rendering ObsidianCharacter
    foundry.js:7651 Foundry VTT | Retrieved and compiled template templates/app-window.html
    foundry.js:7651 Foundry VTT | Retrieved and compiled template modules/obsidian/html/dialogs/new-item.html
    foundry.js:5775 Foundry VTT | Rendering Dialog
    foundry.js:7651 Foundry VTT | Retrieved and compiled template templates/hud/dialog.html
    commons.js:2004 Error: You are using FormDataExtended#toObject which is deprecated in favor of FormDataExtended#object
    Deprecated since Version 10
    Backwards-compatible support will be removed in Version 12
        at Object.logCompatibilityWarning (commons.js:1993:19)
        at FormDataExtended.toObject (foundry.js:67786:19)
        at Dialog.callback (sheet.js:355:59)
        at Dialog.submit (foundry.js:64942:46)
        at Dialog._onClickButton (foundry.js:64870:10)
        at HTMLButtonElement.dispatch (jquery.min.js:2:43184)
        at y.handle (jquery.min.js:2:41168)
    logCompatibilityWarning @ commons.js:2004
    toObject @ foundry.js:67786
    callback @ sheet.js:355
    submit @ foundry.js:64942
    _onClickButton @ foundry.js:64870
    dispatch @ jquery.min.js:2
    y.handle @ jquery.min.js:2
    foundry.js:5775 Foundry VTT | Rendering ObsidianEffectSheet
    commons.js:8711 Foundry VTT | Created Item with id [hg3yZNbZFdhGsEHO] in parent Actor [ZVUyeQZXqCR06Jbn]
    foundry.js:7651 Foundry VTT | Retrieved and compiled template modules/obsidian/html/sheets/effect.html
    commons.js:8711 Foundry VTT | Created Item with id [MjznLJOQ63Wq5g1H] in parent Actor [ZVUyeQZXqCR06Jbn]
    

    Thanks for the timely reply.

  3. Reid Werner reporter

    Just tried dragging an item out of the backpack while the issue was happening and I got some errors. Here are those errors, hopefully, they provide more insight into this.

    foundry.js:68000 validation errors:
      name: may not be undefined
      type: may not be undefined
    fetch @ foundry.js:68000
    notify @ foundry.js:67897
    error @ foundry.js:67934
    #preUpdateDocumentArray @ foundry.js:13625
    _updateDocuments @ foundry.js:13415
    update @ commons.js:8581
    await in update (async)
    updateDocuments @ commons.js:7905
    update @ commons.js:8002
    drop @ reorder.js:134
    onDrop @ sheet.js:491
    form.ondrop @ obsidian.js:104
    foundry.js:753 Error: Item5e [jebfPO7Z3FVfFSiO] validation errors:
      name: may not be undefined
      type: may not be undefined
        at DataModelValidationFailure.asError (commons.js:3805:14)
        at Item5e.validate (commons.js:7070:61)
        at new DataModel (commons.js:6824:12)
        at new Document (commons.js:7487:3)
        at new BaseItem (commons.js:10596:3)
        at new ClientDocumentMixin (foundry.js:13945:7)
        at new Item (foundry.js:22192:1)
        at new Item5e (item.mjs:10:16)
        at EmbeddedCollection.createDocument (commons.js:4323:14)
        at EmbeddedCollection._createOrUpdate (commons.js:4508:26)
    onError @ foundry.js:753
    #preUpdateDocumentArray @ foundry.js:13626
    _updateDocuments @ foundry.js:13415
    update @ commons.js:8581
    await in update (async)
    updateDocuments @ commons.js:7905
    update @ commons.js:8002
    drop @ reorder.js:134
    onDrop @ sheet.js:491
    form.ondrop @ obsidian.js:104
    commons.js:8711 Foundry VTT | Created Item with id [xfpbSvN9HQpXyGrI] in parent Actor [ZVUyeQZXqCR06Jbn]
    commons.js:8711 Foundry VTT | Created Item with id [vchIPgTUdqKtykPk] in parent Actor [ZVUyeQZXqCR06Jbn]
    foundry.js:68000 validation errors:
      items: Cannot read properties of undefined (reading '_id')
    fetch @ foundry.js:68000
    notify @ foundry.js:67897
    error @ foundry.js:67934
    #preUpdateDocumentArray @ foundry.js:13625
    _updateDocuments @ foundry.js:13415
    update @ commons.js:8581
    await in update (async)
    updateDocuments @ commons.js:7905
    update @ commons.js:8002
    drop @ reorder.js:134
    onDrop @ sheet.js:491
    form.ondrop @ obsidian.js:104
    foundry.js:753 Error: ObsidianActor [ZVUyeQZXqCR06Jbn] validation errors:
      items: Cannot read properties of undefined (reading '_id')
        at DataModelValidationFailure.asError (commons.js:3805:14)
        at ObsidianActor.validate (commons.js:7070:61)
        at ObsidianActor.updateSource (commons.js:7159:12)
        at #preUpdateDocumentArray (foundry.js:13623:20)
        at ClientDatabaseBackend._updateDocuments (foundry.js:13415:73)
        at ClientDatabaseBackend.update (commons.js:8581:19)
        at async ObsidianActor.updateDocuments (commons.js:7905:23)
        at async ObsidianActor.update (commons.js:8002:23)
    onError @ foundry.js:753
    #preUpdateDocumentArray @ foundry.js:13626
    _updateDocuments @ foundry.js:13415
    update @ commons.js:8581
    await in update (async)
    updateDocuments @ commons.js:7905
    update @ commons.js:8002
    drop @ reorder.js:134
    onDrop @ sheet.js:491
    form.ondrop @ obsidian.js:104
    

  4. Kim Mantas repo owner

    Seems to have been a core foundry bug causing this. I have pushed a workaround but I’m not 100% sure it will solve the problem in all cases. Let me know if the latest update fixes it or whether you’re still encountering issues.

  5. Reid Werner reporter

    I updated the module and tried it out, seems to be working perfectly. I’ll make an update if I encounter the issue again under different circumstances.

    Thanks for your assistance/quick hot-fix

  6. Log in to comment