Bug #55335

Auto creating child nodes can fail due to missing NULL check

Added by Philipp Maier over 1 year ago.

Status:New Start date:2014-01-25
Priority:Must have Due date:
Assigned To:- % Done:

0%

Category:-
Target version:-

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