Problems with folder path

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2008 04:53 PM
For example:
"/app:company_home/app:user_homes/sys:Alessandro Home/cm:Alessandro Home"
Does anyone know what would be wrong?
Thanks
- Labels:
-
Archive
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2008 10:20 AM
Other than company_home and other standard folders, all other path name of the folders that are created follows ISO9075 encoding.
import org.alfresco.util.ISO9075;"/cm:"+ISO9075.encode(foldername)
Best Regards,
Shagul

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2008 11:10 AM
Is there any sync issue when i execute the CML for the subfolder creation, and the actual CML execution of the document's upload in that subfolder?
Thanks a lot.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2008 09:31 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2008 09:57 AM
Ran a tcpdump, and there is an error executing the xpath:
org.alfresco.service.cmr.repository.XPathException: Error executing xpath: \n xpath: /app:company_home/app:user_homes/sys:apsys/cm:2008

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2008 10:05 AM
java.lang.IllegalStateException: Failed to resolve to a single NodeRef with parameters (store=workspace:SpacesStore uuid=null path=/app:company_home/app:user_homes/sys:apsys/cm:_x0032_008), found 0 nodes.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-15-2008 03:15 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-15-2008 09:09 AM
Hope this helps,
-Alaaeldin

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-15-2008 04:46 PM
I remember running into a similar problem with an older Alfresco version where I couldn't access folder names that start with a numeric digit using web services. Try to change your year folder name to Year_2008 and see what happens.OK. Will try when I am back from vacation in September
Hope this helps,
-Alaaeldin

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2008 04:41 PM
The solution is to ISO9075 encode your space names. Here is a snippet of code as an example of how to do so:
String docPath = "/app:company_home/cm:" + ISO9075.encode("2008 Folder with Spaces In the Name");
ISO9075 methods are the package org.alfresco.util.ISO9075

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2008 06:31 AM
