AnsweredAssumed Answered

Error accessing to a folder link with CIFS

Question asked by ehdez on Jun 16, 2010
Hi !

I have a webscript for creating links to folders :



var sourceFolder = search.findNode("workspace://SpacesStore/" + idSource ) // node to link
var targetFolder = search.findNode("workspace://SpacesStore/" + idTarget ) // folder where link will be created
var linkNode = targetFolder.createNode(linkNodeName, "app:folderlink");
linkNode.properties.content = "";
linkNode.properties.title = "link to folder.url";
linkNode.properties.description = linkNodeName;
linkNode.properties.destination = sourceFolder;
linkNode.save();


The problem occurs when the name of folder to link contains characters with accents  (áéíóú)
The link is created and it works fine if we navigate in the  alfresco web explorer, and also if we use the "View in CIFS" link, but it doesn't work when we click over it in the windows explorer

For example, in the  "test"  folder I have a folder with name "folder áéíóú" and a link to it with name "link to folder.url"

Here some images :
Folder and link : http://www.flickr.com/photos/11725668@N03/4706614819/
Access to original folder with "View in CIFS" link : http://www.flickr.com/photos/11725668@N03/4706614625/
Access to folder link with "View in CIFS" link : http://www.flickr.com/photos/11725668@N03/4706606465/
Access to folder link in Explorer : http://www.flickr.com/photos/11725668@N03/4707256672/

Any ideas ?

Outcomes