foundryvtt-shadowdark icon indicating copy to clipboard operation
foundryvtt-shadowdark copied to clipboard

Error trying to add effects

Open clawhanxrpg opened this issue 5 months ago • 3 comments

DataModelValidationError: ActiveEffect validation errors: name: may not be undefined [Detected 1 package: system:shadowdark(3.6.0)] at DataModelValidationFailure.asError (foundry.mjs:5124:12) at ActiveEffect.validate (foundry.mjs:11647:59) at new DataModel (foundry.mjs:11399:10) at new Document (foundry.mjs:11909:1) at new BaseActiveEffect (foundry.mjs:13167:1) at new ClientDocumentMixin (foundry.mjs:32223:7) at new ActiveEffect (foundry.mjs:47714:22) at #preCreateDocumentArray (foundry.mjs:62397:15) at ClientDatabaseBackend._createDocuments (foundry.mjs:62359:56) at ClientDatabaseBackend.create (foundry.mjs:61990:17) at async ActiveEffect.createDocuments (foundry.mjs:12408:21) at async ActiveEffectsSD.onManageActiveEffect (ActiveEffectsSD.mjs:387:18) onError @ foundry.mjs:23748 🎁Hooks.onError#0 @ libWrapper-wrapper.js:188 #preCreateDocumentArray @ foundry.mjs:62399 _createDocuments @ foundry.mjs:62359 create @ foundry.mjs:61990 await in create createDocuments @ foundry.mjs:12408 createEmbeddedDocuments @ foundry.mjs:12687 onManageActiveEffect @ ActiveEffectsSD.mjs:387 (anonymous) @ ItemSheetSD.mjs:75 dispatch @ jquery.min.js:2 v.handle @ jquery.min.js:2 foundry.mjs:117855 ActiveEffect validation errors: name: may not be undefined [Detected 1 package: system:shadowdark(3.6.0)]

Image

clawhanxrpg avatar Jul 09 '25 14:07 clawhanxrpg

I'm seeing this as well w/ 3.6.0 (screenshot below of what is displayed). @clawhanxrpg do you know of a workaround?

Image

edm00se avatar Aug 09 '25 19:08 edm00se

The workaround for this is to create a premade effect and then edit it into what you want. @edm00se

PrototypeESBU avatar Aug 10 '25 13:08 PrototypeESBU

The workaround for this is to create a premade effect and then edit it into what you want. @edm00se

Excellent. Thank you.

edm00se avatar Aug 10 '25 13:08 edm00se