Skip to content
This repository was archived by the owner on May 16, 2024. It is now read-only.
This repository was archived by the owner on May 16, 2024. It is now read-only.

[BUG] Can no longer delete inventory items. #68

@GambetTV

Description

@GambetTV

As of the last two versions (10.1 and 10.2) I can no longer add or delete items from the inventory. This includes Inventory items, but also things like spells, class features, etc. Nothing works.

Disabling ONLY this module fixes the issue, however, if I have no other modules but yours and its dependencies, the issue also fixes itself. I have tracked the issue down to an incompatibility between your module and DAE (Dynamic Effects using Active Effects). However, this is your module, not theirs, as I've only had this issue for the last day or two, since you updated to 10.1, and they haven't updated their module in over a week. The error message also seems to be purely with your module.

The error message it outputs is:

Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'value')
[Detected 1 package: variant-encumbrance-dnd5e]
at retrieveActiveEffectDataChangeByKeyFromActiveEffect (modules/variant-encumbrance-dnd5e/module/lib/lib.js:476)
at retrieveActiveEffectDataChangeByKey (modules/variant-encumbrance-dnd5e/module/lib/lib.js:460)
at retrieveAttributeEncumbranceMax (modules/variant-encumbrance-dnd5e/module/lib/lib.js:361)
at Object.calculateEncumbrance (modules/variant-encumbrance-dnd5e/module/VariantEncumbranceImpl.js:573)
at Object.calculateEncumbranceWithEffect (modules/variant-encumbrance-dnd5e/module/VariantEncumbranceImpl.js:150)
at Object._updateEncumbranceInternal (modules/variant-encumbrance-dnd5e/module/VariantEncumbranceImpl.js:145)
at async Object.updateEncumbrance (modules/variant-encumbrance-dnd5e/module/VariantEncumbranceImpl.js:16)
at async Function.deleteDocuments (modules/variant-encumbrance-dnd5e/module/modules.js:567)
at async Item5e.delete (common/abstract/document.mjs:471)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions