[icinga-checkins] icinga.org: icinga-web/jmosshammer/default: * Fixed IcignaDoctrine_Query auto-alias resolve bug

git at icinga.org git at icinga.org
Tue Aug 23 15:50:39 CEST 2011


Module: icinga-web
Branch: jmosshammer/default
Commit: b23af03c303a095fa2baf146eb91d7ae68c53b0f
URL:    https://git.icinga.org/?p=icinga-web.git;a=commit;h=b23af03c303a095fa2baf146eb91d7ae68c53b0f

Author: Jannis Moßhanner <jannis.mosshammer at netways.de>
Date:   Tue Aug 23 15:50:06 2011 +0200

* Fixed IcignaDoctrine_Query auto-alias resolve bug

---

 .../lib/database/IcingaDoctrine_Query.class.php    |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/app/modules/Api/lib/database/IcingaDoctrine_Query.class.php b/app/modules/Api/lib/database/IcingaDoctrine_Query.class.php
index 3068608..4c906e3 100644
--- a/app/modules/Api/lib/database/IcingaDoctrine_Query.class.php
+++ b/app/modules/Api/lib/database/IcingaDoctrine_Query.class.php
@@ -188,7 +188,7 @@ class IcingaDoctrine_Query extends Doctrine_Query {
         }
 
         if (!isset($this->aliasDefs[$alias])) {
-            throw new AppKitException("Tried to access hoststore field with invalid alias $alias (Mainalias: $this->mainAlias)");
+            return true; //throw new AppKitException("Tried to access hoststore field with invalid alias $alias (Mainalias: $this->mainAlias)");
         }
 
         $join = $this->aliasDefs[$alias];





More information about the icinga-checkins mailing list