From 09460dffecddd7d75a2ceb60033608232ed6cc64 Mon Sep 17 00:00:00 2001
From: jakubs <jakubs>
Date: Mon, 23 Jan 2012 12:24:06 +0000
Subject: [PATCH] LMS-2747 Changed asContent from using dataSetCode to use
 ExternalData

SVN: 24270
---
 .../ftp/resolver/TemplateBasedDataSetResourceResolver.java      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/datastore_server/source/java/ch/systemsx/cisd/openbis/dss/generic/server/ftp/resolver/TemplateBasedDataSetResourceResolver.java b/datastore_server/source/java/ch/systemsx/cisd/openbis/dss/generic/server/ftp/resolver/TemplateBasedDataSetResourceResolver.java
index 280f123407c..692e4fdb44a 100644
--- a/datastore_server/source/java/ch/systemsx/cisd/openbis/dss/generic/server/ftp/resolver/TemplateBasedDataSetResourceResolver.java
+++ b/datastore_server/source/java/ch/systemsx/cisd/openbis/dss/generic/server/ftp/resolver/TemplateBasedDataSetResourceResolver.java
@@ -467,7 +467,7 @@ public class TemplateBasedDataSetResourceResolver implements IFtpPathResolver,
 
                 FtpFile childFtpFile =
                         FtpFileFactory.createFtpFile(dataSetCode, childPath,
-                                evalElement.contentNode, getContentProvider.asContent(dataSetCode),
+                                evalElement.contentNode, getContentProvider.asContent(evalElement.dataSet),
                                 fileFilter);
                 result.add(childFtpFile);
             }
-- 
GitLab