From 39ed719c4cda4466f234b80543f3b2ec0b83b31e Mon Sep 17 00:00:00 2001 From: Alexander Date: Tue, 8 Nov 2011 13:15:09 +0100 Subject: [PATCH] Remove invalid(?) exception for now --- lib/Doctrine/ORM/Query/ResultSetMapping.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/Doctrine/ORM/Query/ResultSetMapping.php b/lib/Doctrine/ORM/Query/ResultSetMapping.php index fcfc9b834..5ac99ca82 100644 --- a/lib/Doctrine/ORM/Query/ResultSetMapping.php +++ b/lib/Doctrine/ORM/Query/ResultSetMapping.php @@ -165,10 +165,13 @@ class ResultSetMapping break; } } + + /* TODO: check if this exception can be put back, for now it's gone because of assumptions made by some ORM internals if (!$found) { throw new \LogicException("Cannot add index by for dql alias " . $alias . " and field " . $fieldName . " without calling addFieldResult() for them before."); } + */ } /** @@ -435,4 +438,4 @@ class ResultSetMapping $this->isIdentifierColumn[$alias][$columnName] = true; } } -} \ No newline at end of file +}