Doctrine 1

Inconsistent record validation on a notnull foreign key when the local relation is set