From 3021822b072d7435c8d044eb8082e83a73662461 Mon Sep 17 00:00:00 2001
From: Johannes Hoermann <j.hoermann@adito.de>
Date: Thu, 18 Jul 2019 13:14:31 +0200
Subject: [PATCH] logging to grant update object relation

---
 entity/ObjectTree_entity/grantUpdateProcess.js | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/entity/ObjectTree_entity/grantUpdateProcess.js b/entity/ObjectTree_entity/grantUpdateProcess.js
index 33e0143ce6..8e5335d6e1 100644
--- a/entity/ObjectTree_entity/grantUpdateProcess.js
+++ b/entity/ObjectTree_entity/grantUpdateProcess.js
@@ -1,3 +1,4 @@
+import("system.logging");
 import("system.result");
 import("system.neon");
 import("system.vars");
@@ -12,8 +13,12 @@ if (vars.exists("$sys.selection") && vars.getString("$sys.selection"))
         var uid = JSON.parse(selectedRows[0]);
         isObjectRelationNode = typeof uid[2] == "string";
     }  
-
+    logging.log("objectrel grantUpdate " + isObjectRelationNode);
     result.object(isObjectRelationNode)
 }
 else
-    result.object(false)
\ No newline at end of file
+{
+    result.object(false)
+    logging.log("objectrel grantUpdate " + false);
+}
+    
\ No newline at end of file
-- 
GitLab