From f22c4c4e577eef4f39107c746a54ca0acfb03aef Mon Sep 17 00:00:00 2001 From: Jan Vonka Date: Mon, 10 Mar 2008 10:49:04 +0000 Subject: [PATCH] MT - AR-2152 - translation no longer required git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@8472 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261 --- .../org/alfresco/repo/node/db/DbNodeServiceImpl.java | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/source/java/org/alfresco/repo/node/db/DbNodeServiceImpl.java b/source/java/org/alfresco/repo/node/db/DbNodeServiceImpl.java index fce563a171..926b5fd3fc 100644 --- a/source/java/org/alfresco/repo/node/db/DbNodeServiceImpl.java +++ b/source/java/org/alfresco/repo/node/db/DbNodeServiceImpl.java @@ -1028,12 +1028,6 @@ public class DbNodeServiceImpl extends AbstractNodeServiceImpl // get the property definition PropertyDefinition propertyDef = propDefs.get(propertyQName); - if ((propertyDef != null) && (propertyDef.getDataType().getName().equals(DataTypeDefinition.NODE_REF)) && - (propertyValue != null) && (propertyValue.getStringValue() != null)) - { - propertyValue.setStringValue(tenantService.getBaseName(new NodeRef(propertyValue.getStringValue())).toString()); - } - // convert to the correct type Serializable value = makeSerializableValue(propertyDef, propertyValue); // copy across @@ -1089,11 +1083,6 @@ public class DbNodeServiceImpl extends AbstractNodeServiceImpl // Convert any NodeRefs using multi-tenant translation PropertyDefinition propertyDef = dictionaryService.getProperty(qname); - if ((propertyDef != null) && (propertyDef.getDataType().getName().equals(DataTypeDefinition.NODE_REF)) && - (propertyValue != null) && (propertyValue.getStringValue() != null)) - { - propertyValue.setStringValue(tenantService.getBaseName(new NodeRef(propertyValue.getStringValue())).toString()); - } // convert to the correct type Serializable value = makeSerializableValue(propertyDef, propertyValue);