ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akuznet...@apache.org
Subject ignite git commit: IGNITE-843 Fixed NPE.
Date Mon, 02 Nov 2015 08:32:42 GMT
Repository: ignite
Updated Branches:
  refs/heads/ignite-843-rc1 3c2a45da3 -> c880bd94e


IGNITE-843 Fixed NPE.


Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/c880bd94
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/c880bd94
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/c880bd94

Branch: refs/heads/ignite-843-rc1
Commit: c880bd94e65869958ae6f7c228c6392d12cf758a
Parents: 3c2a45d
Author: vsisko <vsisko@gridgain.com>
Authored: Mon Nov 2 15:32:46 2015 +0700
Committer: Alexey Kuznetsov <akuznetsov@apache.org>
Committed: Mon Nov 2 15:32:46 2015 +0700

----------------------------------------------------------------------
 .../control-center-web/src/main/js/controllers/common-module.js    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/c880bd94/modules/control-center-web/src/main/js/controllers/common-module.js
----------------------------------------------------------------------
diff --git a/modules/control-center-web/src/main/js/controllers/common-module.js b/modules/control-center-web/src/main/js/controllers/common-module.js
index f855298..389bd5a 100644
--- a/modules/control-center-web/src/main/js/controllers/common-module.js
+++ b/modules/control-center-web/src/main/js/controllers/common-module.js
@@ -518,7 +518,7 @@ consoleModule.service('$common', [
         function getModel(obj, field) {
             var path = field.path;
 
-            if (!isDefined(path))
+            if (!isDefined(path) || !isDefined(obj))
                 return obj;
 
             path = path.replace(/\[(\w+)\]/g, '.$1'); // convert indexes to properties


Mime
View raw message