Posted by ezra-g on November 27, 2012 at 2:24pm
4 followers
Jump to:
| Project: | Drupal Commons |
| Version: | 7.x-3.x-dev |
| Component: | Groups |
| Category: | bug report |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
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
#1
#2
I 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.
#3
Possibly 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.
#4
The 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/...
#5
Automatically closed -- issue fixed for 2 weeks with no activity.
#6
I'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!
#7
@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.
#8
You can also grab the nightly dev snapshot of Commons from the project page.
#9
Got it, thank you! (sorry for the delayed response)