Closed (fixed)
Project:
Drupal Commons
Component:
Groups
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
27 Nov 2012 at 14:24 UTC
Updated:
11 Feb 2013 at 22:18 UTC
at admin/content/reported.
EntityMalformedException: Missing bundle property on entity of type node. in entity_extract_ids() (line 7636 of /Users/ezra/Developer/htdocs/dev/acquia/commons_nightly/commons/nightly-5/includes/common.inc).
Comments
Comment #1
ezra-g commentedComment #2
ezra-g commentedI also get this error trying to bulk generate content using devel_generate at admin/config/development/generate/content. So far it seems to happen on the Post and Wikis content type.
A debug backtrace() suggests this may be related to the og_group_ref field.
Comment #3
ezra-g commentedPossibly related: #1852112: Invalid field value with devel_generate.
Printing $node at the top of node_save() shows that $node->field_og_group_ref[und][0][target_id] is set to 'group' rather than a target ID or being blank.
Comment #4
ezra-g commentedThe action's 'changes_property' value causes VBO to do an entity_save, which was causing these errors. Note that depending on the content type the error varied somewhat.
I also corrected an incorrect variable name:
http://drupalcode.org/project/commons_content_moderation.git/commitdiff/...
Comment #6
alisonI'm still experiencing this problem with content types Document, Event, Post, Wiki, Answer, Question.
I'm using beta1 -- I imagine the fix is only in the dev version so far and that's why I'm still having the problem? If so, do you forsee including the fix in a beta release any time soon, or should I just patch it myself for now (if I don't want to switch to the dev release)?
Thank you!
Comment #7
jrbeeman@alisonjo2786 This issue is resolved in the 7.x-3.x-dev branch, which is why you're seeing the problem on the beta1 release. The followup release will fix it.
Comment #8
ezra-g commentedYou can also grab the nightly dev snapshot of Commons from the project page.
Comment #9
alisonGot it, thank you! (sorry for the delayed response)