This error occurs when a claim has been created and the content that is linked to the claim is deleted.

EntityMetadataWrapperException: Invalid data value given. Be sure it matches the required data type and format. Value at node(): . in EntityDrupalWrapper->set() (line 758 of /sites/all/modules/entity/includes/entity.wrapper.inc).

Proposed solution...

Using hook_entity_delete. All claims associated with a deleted entity are removed from the entity_claim and entity_claim_revision tables.

Comments

monstrfolk created an issue. See original summary.

monstrfolk’s picture

Issue summary: View changes
monstrfolk’s picture

Issue summary: View changes
monstrfolk’s picture

Title: EntityMetadataWrapperException: Invalid data value given. » Claimed entity deleted error
monstrfolk’s picture

monstrfolk’s picture

I am starting to think you guys should make me a co-maintainer for this module :)

monstrfolk’s picture

Issue summary: View changes
Status: Active » Needs review
monstrfolk’s picture

StatusFileSize
new1.09 KB

Fixed a notice/warning when mass deleting content is no claims existed for an entity.

nikunjkotecha’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.