From f62e063525b98f5edaa9b6677c7535ce116506dc Mon Sep 17 00:00:00 2001 From: "h.boesl" <h.boesl@adito.de> Date: Wed, 26 Feb 2020 19:36:10 +0100 Subject: [PATCH] Error in blobHandler --- process/blobHandler/process.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/process/blobHandler/process.js b/process/blobHandler/process.js index 91929e8a21..210e350aff 100644 --- a/process/blobHandler/process.js +++ b/process/blobHandler/process.js @@ -5,7 +5,7 @@ import("system.util"); import("system.fileIO"); import("system.vars"); -var path = vars.get("$sys.serverhome") + "/binaryfiles/" +var path = vars.get("$sys.serverdata") + "/binaryfiles/" var operation = null; switch (vars.get("$local.operation")) @@ -49,7 +49,7 @@ function updateBlob (path, filename) function readBlob (path, filename) { var fullPath = path + filename; - var fromWhereCond = new SqlBuilder(SqlUtils.getBinariesAlias()).from("ASYS_BINARIES").where("ASYS_BINARIES.ASYS_BINARIES", filename); + var fromWhereCond = new SqlBuilder(SqlUtils.getBinariesAlias()).from("ASYS_BINARIES").where("ASYS_BINARIES.ID", filename); sqlHelper = new SqlMaskingUtils(); -- GitLab