When calling the admin/content/relation page i get the following error message:
EntityMalformedException: Missing bundle property on entity of type relation. in entity_extract_ids() (line 7633 of /Users/steffen/d7/includes/common.inc).
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | enititymalformedexciption-1921032-1.patch | 647 bytes | steffenr |
Comments
Comment #1
steffenrAttached you'll find a patch solving the issue for me..
Please review / test..
Comment #2
mikran commentedHow to repeat that? What kind of relations are causing the error? Do you have entity collector block enabled?
Comment #3
steffenrI created several relations and got this error while calling the admin/content/relation page.
I think it the error happens if you changed the structure of your relation-types and still have old relations saved. After clearing the old stuff it worked fine again..
SteffenR
Comment #4
mikran commentedIt should not be possible to have deleted entity as endpoint. If the entity was correctly deleted hook_entity_update would have taken care of deleting / updating the relation.
There might be a bug somewhere else causing this to not occur but it's not here.
Comment #5
watchdog commentedyes, the patch works, thanks!
Comment #7
naught101 commentedPlease list steps to reproduce this bug from a clean installation, before re-submitting a patch that applies cleanly.
Comment #8
watchdog commentedok, sorry
Comment #9
steffenrFinally we got it working here - the error was caused by an old relation with fields that where not existant anymore.
After deleting all the old "stuff" it was working fine for us again..
From my perspective we can close this issue..
Comment #10
mikran commentedyep
Comment #11
mikran commentedwrong status