Fix for SLNG-1166: Incorrect work of editing documents at Document Library page

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10862 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Gavin Cornwell
2008-09-09 08:36:01 +00:00
parent bac9ed63df
commit 3559269b35

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("id").split("/");
String[] id = templateVars.get("node_id").split("/");
String[] path = new String[id.length + 2];
path[0] = templateVars.get("store_type");
path[1] = templateVars.get("store_id");