mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Merged 1.4 to HEAD (XPath fixes)
svn merge svn://svn.alfresco.com:3691/alfresco/BRANCHES/V1.4@4462 svn://svn.alfresco.com:3691/alfresco/BRANCHES/V1.4@4463 . svn merge svn://svn.alfresco.com:3691/alfresco/BRANCHES/V1.4@4468 svn://svn.alfresco.com:3691/alfresco/BRANCHES/V1.4@4469 . svn merge svn://svn.alfresco.com:3691/alfresco/BRANCHES/V1.4@4486 svn://svn.alfresco.com:3691/alfresco/BRANCHES/V1.4@4487 . git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4532 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -808,6 +808,12 @@ public class DbNodeServiceImpl extends AbstractNodeServiceImpl
|
||||
Map<QName, PropertyValue> properties = node.getProperties();
|
||||
PropertyValue propertyValue = properties.get(qname);
|
||||
|
||||
// check if we need to provide a spoofed name
|
||||
if (propertyValue == null && qname.equals(ContentModel.PROP_NAME))
|
||||
{
|
||||
return nodeRef.getId();
|
||||
}
|
||||
|
||||
// get the property definition
|
||||
PropertyDefinition propertyDef = dictionaryService.getProperty(qname);
|
||||
// convert to the correct type
|
||||
|
Reference in New Issue
Block a user