Bug #55335

Auto creating child nodes can fail due to missing NULL check

Added by Philipp Maier almost 6 years ago.

Status:
New
Priority:
Must have
Assignee:
-
Category:
-
Target version:
-
Start date:
2014-01-25
Due date:
% Done:

0%


Description

The command autoCreateChildNodes of the NodeCommandController produces a fatal error when the node created by the nodeFactory is NULL.

PHP Fatal error: Call to a member function createNode() on a non-object in /Data/Temporary/Development/Cache/Code/Flow_Object_Classes/TYPO3_Neos_Command_NodeCommandController.php on line 97

Background: The return type of the nodeFactory for this method can be NULL.

@Christian: This seems to be correlated to this node type being NULL thingy we talked quite a while ago.

Also available in: Atom PDF