{"action":"created","issue":{"url":"https://api.github.com/repos/DICE-UNC/jargon/issues/63","labels_url":"https://api.github.com/repos/DICE-UNC/jargon/issues/63/labels{/name}","comments_url":"https://api.github.com/repos/DICE-UNC/jargon/issues/63/comments","events_url":"https://api.github.com/repos/DICE-UNC/jargon/issues/63/events","html_url":"https://github.com/DICE-UNC/jargon/issues/63","id":50522679,"number":63,"title":"RE: [iROD-Chat:12918] Move operation (Jargon)","user":{"login":"michael-conway","id":1097261,"avatar_url":"https://avatars.githubusercontent.com/u/1097261?v=3","gravatar_id":"","url":"https://api.github.com/users/michael-conway","html_url":"https://github.com/michael-conway","followers_url":"https://api.github.com/users/michael-conway/followers","following_url":"https://api.github.com/users/michael-conway/following{/other_user}","gists_url":"https://api.github.com/users/michael-conway/gists{/gist_id}","starred_url":"https://api.github.com/users/michael-conway/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michael-conway/subscriptions","organizations_url":"https://api.github.com/users/michael-conway/orgs","repos_url":"https://api.github.com/users/michael-conway/repos","events_url":"https://api.github.com/users/michael-conway/events{/privacy}","received_events_url":"https://api.github.com/users/michael-conway/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/DICE-UNC/jargon/labels/A","name":"A","color":"e11d21"},{"url":"https://api.github.com/repos/DICE-UNC/jargon/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"michael-conway","id":1097261,"avatar_url":"https://avatars.githubusercontent.com/u/1097261?v=3","gravatar_id":"","url":"https://api.github.com/users/michael-conway","html_url":"https://github.com/michael-conway","followers_url":"https://api.github.com/users/michael-conway/followers","following_url":"https://api.github.com/users/michael-conway/following{/other_user}","gists_url":"https://api.github.com/users/michael-conway/gists{/gist_id}","starred_url":"https://api.github.com/users/michael-conway/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michael-conway/subscriptions","organizations_url":"https://api.github.com/users/michael-conway/orgs","repos_url":"https://api.github.com/users/michael-conway/repos","events_url":"https://api.github.com/users/michael-conway/events{/privacy}","received_events_url":"https://api.github.com/users/michael-conway/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/DICE-UNC/jargon/milestones/6","labels_url":"https://api.github.com/repos/DICE-UNC/jargon/milestones/6/labels","id":705984,"number":6,"title":"idrop for jargon 4.0.2 release support - 4.0.2.1","description":"Support in the form of a dot release to support integration of 4.0.2 jargon into idrop to catch any issues in testing idrop and rest.","creator":{"login":"michael-conway","id":1097261,"avatar_url":"https://avatars.githubusercontent.com/u/1097261?v=3","gravatar_id":"","url":"https://api.github.com/users/michael-conway","html_url":"https://github.com/michael-conway","followers_url":"https://api.github.com/users/michael-conway/followers","following_url":"https://api.github.com/users/michael-conway/following{/other_user}","gists_url":"https://api.github.com/users/michael-conway/gists{/gist_id}","starred_url":"https://api.github.com/users/michael-conway/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michael-conway/subscriptions","organizations_url":"https://api.github.com/users/michael-conway/orgs","repos_url":"https://api.github.com/users/michael-conway/repos","events_url":"https://api.github.com/users/michael-conway/events{/privacy}","received_events_url":"https://api.github.com/users/michael-conway/received_events","type":"User","site_admin":false},"open_issues":11,"closed_issues":7,"state":"open","created_at":"2014-06-30T19:05:13Z","updated_at":"2014-12-18T18:20:35Z","due_on":"2014-10-31T07:00:00Z","closed_at":null},"comments":8,"created_at":"2014-12-01T13:16:40Z","updated_at":"2015-01-08T19:10:22Z","closed_at":null,"body":"\r\nI've been playing with copy and move files and collections in iRODS with Jargon. The copy operation works fine as opposed to the move operation. Let's say my iRODS file structure is:\r\n\r\n```\r\n/zone00\r\n          /orion\r\n          /temp\r\n                 /folder1\r\n                          file1\r\n                 /folder2\r\n          /aux\r\n```\r\n\r\nIf I move \"folder1\" into \"orion\", then the structure will look like:\r\n\r\n```\r\n/zone00\r\n          /orion\r\n                 /folder1\r\n                          file1\r\n          /temp\r\n                 /folder2\r\n          /aux\r\n```\r\nIt also works fine when I move \"folder1\" into \"zone00\":\r\n\r\n```\r\n/zone00\r\n          /folder1\r\n                   file1\r\n          /orion\r\n          /temp\r\n                 /folder2\r\n          /aux\r\n```\r\n\r\nHowever, if I try moving \"folder1\" back into \"orion\" or \"temp\", I get a Jargon Exception that says: `org.irods.jargon.core.exception.JargonFileOrCollAlreadyExistsException: Collection already exists`. And that's where I'm stuck. Even though \"folder1\" doesn't exist under \"orion\" anymore, Jargon still says it exists. I tried to do the same operation directly in iRODS, and it worked. But through Jargon it returns this exception."},"comment":{"url":"https://api.github.com/repos/DICE-UNC/jargon/issues/comments/69231376","html_url":"https://github.com/DICE-UNC/jargon/issues/63#issuecomment-69231376","issue_url":"https://api.github.com/repos/DICE-UNC/jargon/issues/63","id":69231376,"user":{"login":"kellerb","id":7625444,"avatar_url":"https://avatars.githubusercontent.com/u/7625444?v=3","gravatar_id":"","url":"https://api.github.com/users/kellerb","html_url":"https://github.com/kellerb","followers_url":"https://api.github.com/users/kellerb/followers","following_url":"https://api.github.com/users/kellerb/following{/other_user}","gists_url":"https://api.github.com/users/kellerb/gists{/gist_id}","starred_url":"https://api.github.com/users/kellerb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kellerb/subscriptions","organizations_url":"https://api.github.com/users/kellerb/orgs","repos_url":"https://api.github.com/users/kellerb/repos","events_url":"https://api.github.com/users/kellerb/events{/privacy}","received_events_url":"https://api.github.com/users/kellerb/received_events","type":"User","site_admin":false},"created_at":"2015-01-08T19:10:22Z","updated_at":"2015-01-08T19:10:22Z","body":"`imv` output:\r\n\r\n```\r\n....<MsgHeader_PI>\r\n<type>RODS_API_REQ</type>\r\n<msgLen>611</msgLen>\r\n<errorLen>0</errorLen>\r\n<bsLen>0</bsLen>\r\n<intInfo>627</intInfo>\r\n</MsgHeader_PI>\r\n<DataObjCopyInp_PI>\r\n<DataObjInp_PI>\r\n<objPath>/tempZone/home/rods/top_dir/to_move</objPath>\r\n<createMode>0</createMode>\r\n<openFlags>0</openFlags>\r\n<offset>0</offset>\r\n<dataSize>0</dataSize>\r\n<numThreads>0</numThreads>\r\n<oprType>12</oprType>\r\n<KeyValPair_PI>\r\n<ssLen>0</ssLen>\r\n</KeyValPair_PI>\r\n</DataObjInp_PI>\r\n<DataObjInp_PI>\r\n<objPath>/tempZone/home/rods/top_dir/sibling/to_move</objPath>\r\n<createMode>0</createMode>\r\n<openFlags>0</openFlags>\r\n<offset>0</offset>\r\n<dataSize>0</dataSize>\r\n<numThreads>0</numThreads>\r\n<oprType>12</oprType>\r\n<KeyValPair_PI>\r\n<ssLen>0</ssLen>\r\n</KeyValPair_PI>\r\n</DataObjInp_PI>\r\n</DataObjCopyInp_PI>\r\n```"}}