Hello Florian, Links for the images: https://docs.google.com/file/d/0B7bi_Hmur_i0THF1X08ya0RobzA/edit?usp=sharing https://docs.google.com/file/d/0B7bi_Hmur_i0a1hSRHhWeGdfclU/edit?usp=sharing
On Wed, Jul 31, 2013 at 4:17 PM, Florian Müller <[email protected]> wrote: > Hi Rajath, > > Screenshots are not forwarded to the mailing list. > We can't see what you are talking about. > > > - Florian > > > Hello, >> >> I have created a new folder Inside the My_Folder-0-0 in the local >> immemory repository named "moved1" programmatically. >> Code: >> >> Map newFolderProps = new HashMap(); >> >> newFolderProps.put(**PropertyIds.NAME, name); >> newFolderProps.put(**PropertyIds.OBJECT_TYPE_ID, >> ObjectType.FOLDER_BASETYPE_ID)**; >> try >> { >> getFolder().createFolder(**newFolderProps); >> return true; >> } >> catch(CmisBaseException e) >> { >> return false; >> } >> >> Here, name variable is "moved1" >> >> This is the screenshot after creation of folder. >> Now, when I try to getObjectbyPath from the session: >> using: session.getObjectbyPath("/My_**Folder-0-0/moved1") I'm getting a >> CMisObjectNotFOundException. >> the exception caught has a message containing >> "/My_FOlder-0-0/My_FOlder-0-1" not found. >> >> When I open the moved1 folder from the workbench, >> U can clearly see that there is a conflict in the paths in the two >> places. In the address bar, it shows a different path and in the >> properties bar it shows the right path. >> >> WHy is it so? >> When I try to open "/My_Folder-0-0/moved1" why is it trying to open >> "/My_FOlder-0-0/My_Dolder-0-1" ? >> >> Is this a bug in opencmis? -- >> >> Rajath S, >> M.Sc(Hons.) Physics, >> Birla Institute of Technology and Science - Pilani, >> Pilani >> > -- Rajath S, M.Sc(Hons.) Physics, Birla Institute of Technology and Science - Pilani, Pilani
