mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Fix the path being set on the Reference objects as it wasn't a valid XPath. Added some unit tests to clear up AR-1186.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4993 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -341,11 +341,11 @@ public class CMLUtil
|
||||
}
|
||||
if (sourceNodeRef != null)
|
||||
{
|
||||
result.setSource(Utils.convertToReference(this.nodeService, sourceNodeRef));
|
||||
result.setSource(Utils.convertToReference(this.nodeService, this.namespaceService, sourceNodeRef));
|
||||
}
|
||||
if (destinationNodeRef != null)
|
||||
{
|
||||
result.setDestination(Utils.convertToReference(this.nodeService, destinationNodeRef));
|
||||
result.setDestination(Utils.convertToReference(this.nodeService, this.namespaceService, destinationNodeRef));
|
||||
}
|
||||
// Sort out the count ???
|
||||
return result;
|
||||
|
Reference in New Issue
Block a user