Closed (duplicate)
Project:
References
Version:
7.x-2.x-dev
Component:
Code: node_reference
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 Nov 2011 at 00:25 UTC
Updated:
27 Dec 2011 at 12:46 UTC
Hi,
Since upgrading from D7.7, I am facing a problem where the 'Node Reference' module is causing:
EntityMalformedException: Missing bundle property on entity of type node. in entity_extract_ids() (line 7405 of /var/www/htdocs/includes/common.inc).
The problem appears only when I am logged in as a site administrator and not with any other user.
I am continuing to investigate this problem, but if someone has any idea - please share it..
Thank you,
Pimmy
Comments
Comment #1
vladimirausYep, got the same.
It appeared when I'm editing brand new autocomplete node reference field.
This is the first autocomplete field I created after upgrading to to
- Views 7.x-3.0-rc3
- References 7.x-2.x-dev (2011-Oct-10)
Old dropdown node reference fields are OK to edit.
After I changed widget type from Autocomplete to Select list, the error disappeared.
I'm using Drupal 7.9
Comment #2
Pimmy commentedYes, this workaround resolves the problem for me as well, however its not a pretty solution as I have way too many items for a drop down menu.
Thanks for the tip though..
Comment #3
ricovandevin commentedI can confirm this bug. I can also confirm that the workaround suggested by VladimirAus is working. But it is indeed just that: a workaround. We also have a list with hundreds of nodes that can be referenced. A select list is not a working solution for the long term.
Comment #4
grantlucas commentedI'm receiving this as well though it only happened for one content type which was using node reference. For this particular content type, I don't think any of the node actually had assigned any node references yet. Other content types which already had references established weren't causing errors.
On the affected content type, removing the autocomplete field and then re-adding it resolved the issue.
Comment #5
Ghostthinker commentedIf you use field_permission, this patch might help http://drupal.org/node/1321050#comment-5236916
Comment #6
itserich commentedThe error does seem Field Permissions related, when disabled the error is gone.
Comment #7
yched commentedClosing as duplicate, then.