I have a node type "book" and a node type "story" that is a child of book. With the revisions-module I integrated a moderation for user storys. If a user writes a new story (first revision) and the moderator clicks on the link of this revision (http://my-homepage/node/173/revisions/224/view) the following error-message appears:

Notice: Undefined index: #view_mode in eva_entity_view_alter() (Zeile 44 von /is/htdocs/wp1062871_3DE28JSAQA/www/.netnovelas/sites/all/modules/eva/eva.module).
Notice: Undefined index: #language in eva_entity_view_alter() (Zeile 45 von /is/htdocs/wp1062871_3DE28JSAQA/www/.netnovelas/sites/all/modules/eva/eva.module).
Notice: Undefined index: #entity_type in _eva_extract_entity_from_build() (Zeile 157 von /is/htdocs/wp1062871_3DE28JSAQA/www/.netnovelas/sites/all/modules/eva/eva.module).
Notice: Undefined index: #entity_type in _eva_extract_entity_from_build() (Zeile 162 von /is/htdocs/wp1062871_3DE28JSAQA/www/.netnovelas/sites/all/modules/eva/eva.module).
Notice: Undefined index: #entity_type in _eva_extract_entity_from_build() (Zeile 165 von /is/htdocs/wp1062871_3DE28JSAQA/www/.netnovelas/sites/all/modules/eva/eva.module).
EntityMalformedException: Fehlende Paketeigenschaft auf einem Element des Types node. in entity_extract_ids() (Zeile 7501 von /is/htdocs/wp1062871_3DE28JSAQA/www/.netnovelas/includes/common.inc).

Thank you

Comments

kay.beissert’s picture

If I disable the diff-module, everything works fine. But to find the differences between versions would be fine.

mkadin’s picture

Title: Conflict with revisions-module » Conflict with diff module
Version: 7.x-1.1 » 7.x-1.2
mkadin’s picture

Status: Active » Closed (cannot reproduce)

I'm unable to reproduce this using the current 1.2 version. If anyone else sees problems with Diff or Revisions and EVA, please re-open this issue.

earwax’s picture

Status: Closed (cannot reproduce) » Active

I am able to reproduce this problem and can confirm that there is something going on with the DIFF module and this module. I am also using the Revisioning module. If I disable the diff module, and leave the Revisioning module enabled, then the revision links works fine. But if I leave the diff module enabled then the problem returns. So is this an EVA problem or a DIFF module problem or a Revisioning module problem? Can we look into this more, please?

mkadin’s picture

Can you try the last patch from #1772204: EntityMalformedExceptions with custom entity modules and see if it helps?

earwax’s picture

Looks great! I ran this against the EVA 7.x-1.2 module and it is working fine.

I will update you all in a few days to see if I run into problems with this patch.

tim.plunkett’s picture

Issue summary: View changes
Status: Active » Closed (duplicate)