{"action":"closed","issue":{"url":"https://api.github.com/repos/qbittorrent/qBittorrent/issues/1562","labels_url":"https://api.github.com/repos/qbittorrent/qBittorrent/issues/1562/labels{/name}","comments_url":"https://api.github.com/repos/qbittorrent/qBittorrent/issues/1562/comments","events_url":"https://api.github.com/repos/qbittorrent/qBittorrent/issues/1562/events","html_url":"https://github.com/qbittorrent/qBittorrent/issues/1562","id":30944358,"number":1562,"title":"Renaming Torrent folders in Add Torrent dialog sometimes fails and can't be corrected properly afterwards","user":{"login":"AsaRossoff","id":3732855,"avatar_url":"https://avatars.githubusercontent.com/u/3732855?v=3","gravatar_id":"","url":"https://api.github.com/users/AsaRossoff","html_url":"https://github.com/AsaRossoff","followers_url":"https://api.github.com/users/AsaRossoff/followers","following_url":"https://api.github.com/users/AsaRossoff/following{/other_user}","gists_url":"https://api.github.com/users/AsaRossoff/gists{/gist_id}","starred_url":"https://api.github.com/users/AsaRossoff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AsaRossoff/subscriptions","organizations_url":"https://api.github.com/users/AsaRossoff/orgs","repos_url":"https://api.github.com/users/AsaRossoff/repos","events_url":"https://api.github.com/users/AsaRossoff/events{/privacy}","received_events_url":"https://api.github.com/users/AsaRossoff/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2014-04-06T19:21:04Z","updated_at":"2015-06-23T21:18:58Z","closed_at":"2015-06-23T21:18:58Z","body":"This issue effects specific torrents, and when one that fails to work is found, is consistently reproducible with that torrent.\r\n\r\n* Add a torrent (i.e. download a .torrent and open with qBt).\r\n* Rename the parent folder of the torrent (I haven't checked if the issue effects subfolders or filenames).\r\n* Click **OK** to confirm the dialog.\r\n* _Notice that the folder rename is not reflected in the file list, where the_ original folder name _is indicated._\r\n* If you try to rename the folder again, it will rename, but both new and old folders will be created on disk, and/or the file list will change and have two copies of the folder name you selected, and it will download this way too. (i.e. the torrent's files will go to \"download location/selected parent folder name/selected parent folder name/*\"  (notice _selected parent folder name_ is repeated twice)\r\n\r\nMy \"and/or\" to the scenario may reflect slight variations in the steps taken when this problem occurs.. I will try to find torrents to demonstrate the problem and note exactly which result occurs with which steps.  I have changed my usual practices to avert this problem, since the only solution I've found once it is encountered is to delete the torrent, delete extraneous directories from the file system, and re-add the torrent using the work-around below:\r\n\r\n**Work-Around**\r\n* When adding the torrent, do NOT rename anything in the torrent.\r\n* After the torrent has been added, rename folders/file as desired.\r\n_**Celebrate success!**_"}}