Needs review
Project:
Node Reference Create
Version:
7.x-1.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
29 Sep 2011 at 19:18 UTC
Updated:
8 May 2013 at 13:06 UTC
Jump to comment: Most recent file
Comments
Comment #1
chrisolofI went in and fixed this today, but when I went to make the patch using git I realized the version git downloads already contains the fix. So for whatever reason, the version of this module you're presented with for downloading on the module's project page doesn't match to what you get when you grab it via git. Long story short - if you're having trouble with this module inside of a field collection the fixed version is available via:
Or, if you don't have git installed, I've attached the fixed version of the module.
The fix entailed replacing these two lines (88 and 89) in noderefcreate.module:
With these instead (which come from the node reference module in a very similar validation function):
Comment #2
chrisolofMarked #1324670: Node Reference Create does not work inside a Field Collection as duplicate of this issue.
Comment #3
UglyKidJoe commentedHi all,
This module is so useful! It solves a lot of issues for me (if it works!)
I've installed version 7.x-1.0 from the site (I don't use git).
Further error messages I get are:
- EntityMalformedException: missing bundle property on entity of type node in entity_extract_ids() (line 7501 of [...])
- Undefined index: field [field name].
Is it possible that I've broken this somehow?
Any updated on this issue would be greatly appreciated. Thanks for a great module.
Comment #4
wormz30 commentedfollowing... I'm experiencing the same exact problem
Comment #5
socialnicheguru commentedcan a proper patch be created?
also it contradicts this patch http://drupal.org/node/1330274
Comment #6
charlie-s commentedPatch attached. Combination of this + 1330274.
Comment #7
vip_sa commentedThe patch does not work and I still get the same error:
Notice: Undefined index: field_company in noderefcreate_autocomplete_validate() (line 88 of /home/investor/public_html/sites/all/modules/noderefcreate/noderefcreate.module).
Notice: Undefined index: field_company in noderefcreate_autocomplete_validate() (line 89 of /home/investor/public_html/sites/all/modules/noderefcreate/noderefcreate.module).
Notice: Undefined index: field_project in noderefcreate_autocomplete_validate() (line 88 of /home/investor/public_html/sites/all/modules/noderefcreate/noderefcreate.module).
Notice: Undefined index: field_project in noderefcreate_autocomplete_validate() (line 89 of /home/investor/public_html/sites/all/modules/noderefcreate/noderefcreate.module).