From 29318e183c58ce339f54e043c71e195d2e37914b Mon Sep 17 00:00:00 2001 From: Benjamin Eberlei Date: Thu, 22 Mar 2012 23:07:00 +0100 Subject: [PATCH] [DDC-1723] Fix missing serialitation for custom generator definition. --- lib/Doctrine/ORM/Mapping/ClassMetadataInfo.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/Doctrine/ORM/Mapping/ClassMetadataInfo.php b/lib/Doctrine/ORM/Mapping/ClassMetadataInfo.php index c942621f6..eb50d1251 100644 --- a/lib/Doctrine/ORM/Mapping/ClassMetadataInfo.php +++ b/lib/Doctrine/ORM/Mapping/ClassMetadataInfo.php @@ -752,6 +752,10 @@ class ClassMetadataInfo implements ClassMetadata $serialized[] = 'isReadOnly'; } + if ($this->customGeneratorDefinition) { + $serialized[] = "customGeneratorDefinition"; + } + return $serialized; }