Skip to content
Snippets Groups Projects
Commit 75204aeb authored by Johannes Goderbauer's avatar Johannes Goderbauer Committed by Johannes Goderbauer
Browse files

Loghistory: fixed error when an empty blob-field was logged

(cherry picked from commit 0c3a5968)
parent e87e2858
No related branches found
No related tags found
No related merge requests found
......@@ -346,7 +346,7 @@ LogHistoryExecutor.prototype._getFormattedValue = function (pColumnName, pDescri
}
else if (pDescription.translate4Log != null && pDescription.translate4Log != "")
{
var params = Translate4LogParams.generateParams(this.idValue, pValue.toString(), this.sqlAction, this.translationLanguage);
var params = Translate4LogParams.generateParams(this.idValue, pValue != null ? pValue.toString() : null, this.sqlAction, this.translationLanguage);
var scriptId = "LogHistoryExecutor._getFormattedValue."
+ this.structureDefinitionAlias + "." + this.affectedTable + "." + pColumnName + ".translate4Log";
pValue = process.executeScript(scriptId, pDescription.translate4Log, params, vars.get("$sys.dbalias"));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment