MySpaces accent problem with childByNamePath
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2010 11:35 AM
Hi,
I have a problem with MySpaces and accented folders. When I click in a folder with accent I return to the home of the user.
The problem is connected to companyhome.childByNamePath that cannot resolve the letters with accent, for example:
${companyhome.childByNamePath["Documents/123 abc folder àèìòù"].name}
Is there a solution to it?
I have a problem with MySpaces and accented folders. When I click in a folder with accent I return to the home of the user.
The problem is connected to companyhome.childByNamePath that cannot resolve the letters with accent, for example:
${companyhome.childByNamePath["Documents/123 abc folder àèìòù"].name}
Is there a solution to it?
Labels:
- Labels:
-
Archive
5 REPLIES 5
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2010 12:11 PM
Are you seeing this with Internet Explorer, Firefox or both?
Thanks,
Mike
Thanks,
Mike
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2010 08:05 AM
Hi Mike,
I have this problem in both browser.
I tried in IE8, Firefox 3.6.3 and also in Chrome 5.
To reproduce it you can do as follow:
1- create a folder with a name with accent, for example: '123 abc àèìòù' under 'Company Home'
2- try to get it in a webscript through ${companyhome.childByNamePath["123 abc folder àèìòù"].name}, for example put it in myspaces.get.html.ftl
The exception that you will see is this:
I have this problem in both browser.
I tried in IE8, Firefox 3.6.3 and also in Chrome 5.
To reproduce it you can do as follow:
1- create a folder with a name with accent, for example: '123 abc àèìòù' under 'Company Home'
2- try to get it in a webscript through ${companyhome.childByNamePath["123 abc folder àèìòù"].name}, for example put it in myspaces.get.html.ftl
The exception that you will see is this:
Message: 04110004 Wrapped Exception (with status template): 04110023 Error during processing of the template 'Expression companyhome.childByNamePath["Projects/A/AAAKPQ004/Documents/_x0031_23_x0020_abc_x0020_�����"] is undefined on line 55, column 30 in org/alfresco/portlets/myspaces.get.html.ftl.'. Please contact your system administrator. Exception: freemarker.core.InvalidReferenceException - Expression companyhome.childByNamePath["Projects/A/AAAKPQ004/Documents/_x0031_23_x0020_abc_x0020_�����"] is undefined on line 55, column 30 in org/alfresco/portlets/myspaces.get.html.ftl.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2010 03:33 AM
Hi Luca,
I've exactly the same problem. http://forums.alfresco.com/en/viewtopic.php?f=36&t=35937, but no answer on the forum
Did you find a solution ?
Thanks,
Laurent
I've exactly the same problem. http://forums.alfresco.com/en/viewtopic.php?f=36&t=35937, but no answer on the forum

Did you find a solution ?
Thanks,
Laurent
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2010 03:42 AM
Unfortunately not, sorry.
We only try not to create folder with strange character…. Not a good solution, but it was not a great issue for us.
If you find any solution, please let me know! :wink: Good Luck!
We only try not to create folder with strange character…. Not a good solution, but it was not a great issue for us.
If you find any solution, please let me know! :wink: Good Luck!
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2011 03:30 AM
Sorry, but no,I don't find a solution, we still have that problem.
But We are using Alfresco 3.2, I hope newer versions of Alfresco don't have this bug, what version do you have?
But We are using Alfresco 3.2, I hope newer versions of Alfresco don't have this bug, what version do you have?
