diff --git a/entity/ObjectTree_entity/entityfields/alter/children/insert/onActionProcess.js b/entity/ObjectTree_entity/entityfields/alter/children/insert/onActionProcess.js index 571d8ca4e3194a74bcb210e7c0f767541626cd5d..16288da8047743cf9d006aa8eab8a7264fc3ec65 100644 --- a/entity/ObjectTree_entity/entityfields/alter/children/insert/onActionProcess.js +++ b/entity/ObjectTree_entity/entityfields/alter/children/insert/onActionProcess.js @@ -1,5 +1,4 @@ import("ObjectRelation_lib"); -import("system.logging"); import("system.neon"); import("system.vars"); @@ -8,11 +7,7 @@ if (vars.exists("$local.rows") && vars.get("$local.rows")) var selectedRows = JSON.parse(vars.get("$local.rows")); var uid = JSON.parse(selectedRows[0]["#LOOKUPID"]); var isObjectRelationNode = typeof uid[2] == "string"; - - logging.log(JSON.parse(selectedRows[0]["#LOOKUPID"]).toSource()) - logging.log(vars.getString("$param.ObjectId_param")) - logging.log(isObjectRelationNode) - + var parentId; var parentObjectType; var relationType; @@ -21,14 +16,11 @@ if (vars.exists("$local.rows") && vars.get("$local.rows")) { parentId = uid[0]; parentObjectType = uid[3]; - // get relationTypeId from the other side - //relationType = ObjectRelationUtils.getRelationType(uid[2])[10]; } else { parentId = vars.getString("$param.ObjectId_param"); parentObjectType = vars.getString("$param.ObjectType_param"); - //relationType = uid[2][0]; } var params = { @@ -37,6 +29,5 @@ if (vars.exists("$local.rows") && vars.get("$local.rows")) "RelationType_param" : vars.get("$field.OBJECTRELATIONTYPEID") }; - logging.log(params.toSource()) neon.openContext("ObjectTree", "ObjectTreeEdit_view", null, neon.OPERATINGSTATE_NEW, params); } \ No newline at end of file diff --git a/entity/ObjectTree_entity/entityfields/objects/children/objecttype_param/valueProcess.js b/entity/ObjectTree_entity/entityfields/objects/children/objecttype_param/valueProcess.js index 85f399b856afa2fa1cb46314432eeb61ff42bb2d..b73f117c996323ede362e09f72d077c486603806 100644 --- a/entity/ObjectTree_entity/entityfields/objects/children/objecttype_param/valueProcess.js +++ b/entity/ObjectTree_entity/entityfields/objects/children/objecttype_param/valueProcess.js @@ -1,5 +1,4 @@ -import("system.logging"); import("system.vars"); import("system.result"); -logging.log(vars.get("$field.TARGET_CONTEXT")) + result.string(vars.get("$field.TARGET_CONTEXT")); \ No newline at end of file diff --git a/entity/ObjectTree_entity/recordcontainers/jdito/contentProcess.js b/entity/ObjectTree_entity/recordcontainers/jdito/contentProcess.js index ddabafed1e7e8e325dff2a5bf46d9d9a1a622d17..bc49795bd4cba307a64304d10edd0cc1f6234716 100644 --- a/entity/ObjectTree_entity/recordcontainers/jdito/contentProcess.js +++ b/entity/ObjectTree_entity/recordcontainers/jdito/contentProcess.js @@ -1,4 +1,3 @@ -import("system.logging"); import("system.db"); import("system.translate"); import("system.result"); @@ -87,7 +86,6 @@ function _loadObjectRelationTree(pObjectId, pObjectType, pObjectRelationTypeId, // if no relationType given, load from nodeId if (!pRelationTypeData) pRelationTypeData = pNodeId[2]; - logging.log("aaa " + pRelationTypeData.toSource()) var thisRelationTypeId = pRelationTypeData[0]; var otherRelationTypeId = pRelationTypeData[10]; var hierarchy = pRelationTypeData[4]; diff --git a/entity/ObjectTree_entity/recordcontainers/jdito/onDelete.js b/entity/ObjectTree_entity/recordcontainers/jdito/onDelete.js index 86e11604e1a89b4ed962ff2c196b1b3f7c481702..27ac27f8fe01dcffa3e2123c1e9f90978aa358a6 100644 --- a/entity/ObjectTree_entity/recordcontainers/jdito/onDelete.js +++ b/entity/ObjectTree_entity/recordcontainers/jdito/onDelete.js @@ -1,4 +1,3 @@ -import("system.logging"); import("system.vars"); import("system.neon"); import("system.db"); @@ -11,7 +10,6 @@ var isObjectRelationNode = typeof uid[2] == "string"; if (isObjectRelationNode) { var objectRelationId = uid[6]; - logging.log("delete: " + objectRelationId) db.deleteData("AB_OBJECTRELATION", SqlCondition.begin() .andPrepareIfSet("AB_OBJECTRELATION.AB_OBJECTRELATIONID", objectRelationId) .build("1=2"));