Haensel/Neo4Yii — Issue #4: ENeo4jRelationship
Author: haiyangl
Created: 2012-02-17 17:55:08+00:00
State: open

When I tried to create relationship, I was given error "You cannot save a relationship without defining type, startNode and endNode". When I trace this down, I saw line 63 of ENeo4jRelationship.php (create method) checks if the startnode, endnode and relationship type are null. But the way it checks is different between startnode and endnode. I am wondering if this is by design or simply a bug.

$this->endNode->self==null
$this->startNode==null