{"action":"created","issue":{"url":"https://api.github.com/repos/HabitRPG/habitrpg/issues/4466","labels_url":"https://api.github.com/repos/HabitRPG/habitrpg/issues/4466/labels{/name}","comments_url":"https://api.github.com/repos/HabitRPG/habitrpg/issues/4466/comments","events_url":"https://api.github.com/repos/HabitRPG/habitrpg/issues/4466/events","html_url":"https://github.com/HabitRPG/habitrpg/issues/4466","id":53236270,"number":4466,"title":"Challenge out of sync remove button deleted almost all tasks unrelated to challenge / manually added","user":{"login":"Nayelianne","id":9331429,"avatar_url":"https://avatars.githubusercontent.com/u/9331429?v=3","gravatar_id":"","url":"https://api.github.com/users/Nayelianne","html_url":"https://github.com/Nayelianne","followers_url":"https://api.github.com/users/Nayelianne/followers","following_url":"https://api.github.com/users/Nayelianne/following{/other_user}","gists_url":"https://api.github.com/users/Nayelianne/gists{/gist_id}","starred_url":"https://api.github.com/users/Nayelianne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nayelianne/subscriptions","organizations_url":"https://api.github.com/users/Nayelianne/orgs","repos_url":"https://api.github.com/users/Nayelianne/repos","events_url":"https://api.github.com/users/Nayelianne/events{/privacy}","received_events_url":"https://api.github.com/users/Nayelianne/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/HabitRPG/habitrpg/labels/bug","name":"bug","color":"e102d8"},{"url":"https://api.github.com/repos/HabitRPG/habitrpg/labels/challenges","name":"challenges","color":"c7def8"},{"url":"https://api.github.com/repos/HabitRPG/habitrpg/labels/Memorable","name":"Memorable","color":"207de5"},{"url":"https://api.github.com/repos/HabitRPG/habitrpg/labels/need%20investigation","name":"need investigation","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":14,"created_at":"2015-01-02T03:44:08Z","updated_at":"2015-06-24T01:54:21Z","closed_at":null,"body":"I got a little notice on a daily task from a challenge saying it was out of sync, and that the **challenge had ended**. When I clicked to edit that task, it was asking whether I wanted to keep it or delete it. **I went with delete, and then... pretty much all my tasks that I had manually added (and had nothing to do with the challenge) disappeared at once**. A ctrl+f5 didn't fix the problem. Did I seriously misread something here or is it a big bad bug? ): I had SO many tasks and it's very disheartening to lose my streaks and have to add everything again.\r\n\r\nThis was more or less how my tasks looked like (though it's an outdated screenshot): \r\n![image](https://cloud.githubusercontent.com/assets/9331429/5594053/a4dabcce-921d-11e4-81e3-4032099195ba.png)\r\n\r\nThis is how it looks now ;-; \r\n![image](https://cloud.githubusercontent.com/assets/9331429/5594067/f780d372-921e-11e4-944a-04d2942fdec4.png)\r\n\r\n\r\n**Apparently everything (dailies, to-dos, habits) was deleted in one go except for a few tasks that were from a different challenge.**\r\n\r\nUser ID: 1448f1e9-7b17-45cd-940c-741f84a3d78d\r\nEnded challenge that caused it all was from the Kotoba Miners Guild ( b9424e99-ee46-4c96-8633-dbdf375160e7 )\r\nOperational System: Windows 7 64 bits.\r\nBrowser + Version: Chrome 39.0.2171.95 m\r\n**Console Errors displayed on the page (after refresh, hadn't looked before :disappointed: ):**\r\n![image](https://cloud.githubusercontent.com/assets/9331429/5594070/17868dce-921f-11e4-80da-94b53bfd3942.png)\r\nOther details: \r\n- Tried pressing \"clear\" on the tags to see if I had any tags selected and tasks would came back, nothing changed.\r\n- Apparently I can still create tasks normally, if that's at all relevant.\r\n\r\nIs there any way to restore the tasks?\r\n\r\n<bountysource-plugin>\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/7430768-challenge-out-of-sync-remove-button-deleted-almost-all-tasks-unrelated-to-challenge-manually-added?utm_campaign=plugin&utm_content=tracker%2F68393&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F68393&utm_medium=issues&utm_source=github).\r\n</bountysource-plugin>"},"comment":{"url":"https://api.github.com/repos/HabitRPG/habitrpg/issues/comments/114697052","html_url":"https://github.com/HabitRPG/habitrpg/issues/4466#issuecomment-114697052","issue_url":"https://api.github.com/repos/HabitRPG/habitrpg/issues/4466","id":114697052,"user":{"login":"Alys","id":1495809,"avatar_url":"https://avatars.githubusercontent.com/u/1495809?v=3","gravatar_id":"","url":"https://api.github.com/users/Alys","html_url":"https://github.com/Alys","followers_url":"https://api.github.com/users/Alys/followers","following_url":"https://api.github.com/users/Alys/following{/other_user}","gists_url":"https://api.github.com/users/Alys/gists{/gist_id}","starred_url":"https://api.github.com/users/Alys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Alys/subscriptions","organizations_url":"https://api.github.com/users/Alys/orgs","repos_url":"https://api.github.com/users/Alys/repos","events_url":"https://api.github.com/users/Alys/events{/privacy}","received_events_url":"https://api.github.com/users/Alys/received_events","type":"User","site_admin":false},"created_at":"2015-06-24T01:54:21Z","updated_at":"2015-06-24T01:54:21Z","body":"@jdrapic There was a backup made two hours and fifty minutes ago. Is that likely to have your tasks? If not, I can use a backup made fifteen hours ago. The reason I'm asking is that it takes at least two hours to download the backup (it's huge!) and then up to three hours to import it into my local database server, and then some additional time to extract and restore your data - none of which I mind doing since you should not have been hit by this bug, but if the first backup I choose doesn't have your tasks, I probably won't be able to get them restored for many more hours. Let me know which backup you'd like me to try first, and I'll start downloading it as soon as I hear from you. "}}