Error for Document Nodes with empty references

The use case is as following:

  • Create a NodeType

  • Inherit from ‘TYPO3.Neos:Document’ and add a 1:n relation via “references” (e.g.: to other documents)

  • Create a new node of this type and do NOT set a relation

  • When selecting the node in the backend an error occurs:
    #1421329285: “term” cannot be empty: provide a term to search for.

      InvalidArgumentException thrown in file
    
      /data/www/typo3-app/Data/Temporary/Development/Cache/Code/Flow_Object_Classes/TYPO3_Neos_Domain_Service_NodeSearchService.php in line 60

tracked the issue and suggested a possible fix: https://jira.neos.io/browse/NEOS-1828