Steps to repeat:
1. Install Inline Entity Form
2. Create a node/content type with an entity reference field that references itself
3. Create a node of the above type and try to add an entity reference

Expected Results:
User sees the Inline Entity Form with a new node of the above type

Actual Results:
Popup display shows:

An AJAX HTTP error occured.
HTTP Result Code: 500
Debugging information follows.
Path: /?q=system/ajax
StatusText: Internal Server Error
ResponseText:

Checking in the Apache Error Log showed this error:

PHP Fatal error:  Allowed memory size of 536870912 bytes exhausted (tried to allocate 35 bytes) in /modules/field/field.form.inc on line 551, referer: /?q=node/add/node
PHP Fatal error:  Allowed memory size of 536870912 bytes exhausted (tried to allocate 35 bytes) in /sites/all/modules/inline_entity_form/inline_entity_form.module on line 693, referer: /?q=node/add/node

Comments

shandman’s picture

Component: User interface » Code
bojanz’s picture

Status: Active » Closed (duplicate)

If you're talking about referencing nodes of the same type through IEF, the issue for that is #1740074: Fix IEF to work when IEF is nested into another IEF.
If you're talking about the node literally referencing itself, that will never be supported.