Active
Project:
Entityreference Current
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Jul 2013 at 16:18 UTC
Updated:
13 Aug 2013 at 14:40 UTC
under Additional behaviors options Entity reference current is enabled with default options like
Action - Do Nothing
Fallback behaviour - Do Nothing
Skip access permission - None.
Actual need of this module is for content type as mentioned here.
Enabling the option rises the error
EntityMalformedException: Missing bundle property on entity of type node. in entity_extract_ids() (line 7663)
when backtracked call was made from
$entity_ids = entity_extract_ids($target_type, $entity);
I also checked it by creating simple content type with basic fields title,body and the entityreferecne field.
Modules versions
Drupal 7.22
Entity API 7.x-1.1
Entity Reference 7.x-1.0
Field 7.22
Comments
Comment #1
tedbowwhat path were you at when you hit the error?
Was this when you were on the submit URL for the Entityform or viewing the Node.
Comment #2
nithinkolekar commented@ted,
My apologies .. I didn't aware of that module will extract the none info from url of current path.I was trying to submit form from the "Submit now" link under "Entityform types" page.
There might be some situations where content type node is configure to show in block (using NodeBlock Module).I think this limitation should be mentioned in project doc page, so that others should be aware of it.
Comment #3
tedbowI pushed a fix for this.
Basically the problem was if the no entity was found from menu_get_object().
I am handling that situation now.
Comment #3.0
tedbowminor change