Proper fix for SLNG-1166

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10864 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Gavin Cornwell
2008-09-09 10:19:26 +00:00
parent 3559269b35
commit 2f77a9c25e
2 changed files with 4 additions and 4 deletions

View File

@@ -89,7 +89,7 @@ public class ContentGet extends StreamContent
String match = req.getServiceMatch().getPath();
String[] matchParts = match.split("/");
Map<String, String> templateVars = req.getServiceMatch().getTemplateVars();
String[] id = templateVars.get("node_id").split("/");
String[] id = templateVars.get("id").split("/");
String[] path = new String[id.length + 2];
path[0] = templateVars.get("store_type");
path[1] = templateVars.get("store_id");