diff --git a/entity/AttributeRelation_entity/entityfields/value/valueProcess.js b/entity/AttributeRelation_entity/entityfields/value/valueProcess.js
index 482f217f0fed4444c05616754278643e1922fc8e..be339d4b856ffc4d5b09f80a60467f903e2eae19 100644
--- a/entity/AttributeRelation_entity/entityfields/value/valueProcess.js
+++ b/entity/AttributeRelation_entity/entityfields/value/valueProcess.js
@@ -6,3 +6,5 @@ var attributeType = vars.get("$field.ATTRIBUTE_TYPE");
 var contentType = AttributeTypeUtil.getContentType(attributeType);
 if (vars.get("$this.value") == null && contentType == "BOOLEAN")
     result.string("0");
+else if (!contentType)
+    result.string("");
diff --git a/entity/AttributeRelation_entity/recordcontainers/jdito/onDelete.js b/entity/AttributeRelation_entity/recordcontainers/jdito/onDelete.js
index 534a178c60095c9485e947863acbb3c4c5cdf9c2..9dddabd15542dad1af6752992dfce0695424a56b 100644
--- a/entity/AttributeRelation_entity/recordcontainers/jdito/onDelete.js
+++ b/entity/AttributeRelation_entity/recordcontainers/jdito/onDelete.js
@@ -4,7 +4,7 @@ import("Sql_lib");
 import("system.db");
 
 var rowData = vars.get("$local.rowdata");
-if (rowData["AB_ATTRIBUTE_ID.value"] && rowData["VALUE.value"])
+if (rowData["AB_ATTRIBUTE_ID.value"])
 {
     newWhere("AB_ATTRIBUTERELATION.AB_ATTRIBUTERELATIONID", vars.get("$local.uid"))
         .deleteData(true, "AB_ATTRIBUTERELATION")