From b58f573b3151a492465dabd0de562353771aa899 Mon Sep 17 00:00:00 2001 From: Michel Weimerskirch Date: Tue, 26 Jul 2011 10:59:21 +0300 Subject: [PATCH] Corrected typo --- lib/Doctrine/ORM/ORMException.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Doctrine/ORM/ORMException.php b/lib/Doctrine/ORM/ORMException.php index 75b91d2e4..fa6fdd30e 100644 --- a/lib/Doctrine/ORM/ORMException.php +++ b/lib/Doctrine/ORM/ORMException.php @@ -39,7 +39,7 @@ class ORMException extends Exception { return new self( "Entity of type " . get_class($entity) . " has identity through a foreign entity " . get_class($relatedEntity) . ", " . - "however this entity has no ientity itself. You have to call EntityManager#persist() on the related entity " . + "however this entity has no identity itself. You have to call EntityManager#persist() on the related entity " . "and make sure it an identifier was generated before trying to persist '" . get_class($entity) . "'. In case " . "of Post Insert ID Generation (such as MySQL Auto-Increment or PostgreSQL SERIAL) this means you have to call " . "EntityManager#flush() between both persist operations."