{"action":"created","issue":{"url":"https://api.github.com/repos/HabitRPG/habitrpg/issues/7714","repository_url":"https://api.github.com/repos/HabitRPG/habitrpg","labels_url":"https://api.github.com/repos/HabitRPG/habitrpg/issues/7714/labels{/name}","comments_url":"https://api.github.com/repos/HabitRPG/habitrpg/issues/7714/comments","events_url":"https://api.github.com/repos/HabitRPG/habitrpg/issues/7714/events","html_url":"https://github.com/HabitRPG/habitrpg/issues/7714","id":162258161,"number":7714,"title":"eyeglasses (eyewear_special_*TopFrame) can be lost and then can't be re-purchased","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},"labels":[{"url":"https://api.github.com/repos/HabitRPG/habitrpg/labels/priority:%20minor","name":"priority: minor","color":"f9d0c4"},{"url":"https://api.github.com/repos/HabitRPG/habitrpg/labels/status:%20issue:%20help%20welcome%20now","name":"status: issue: help welcome now","color":"0e8a16"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-06-25T02:14:31Z","updated_at":"2016-09-14T01:30:01Z","closed_at":null,"body":"It's possible for the eyeglasses to have false values in a user's account, and when that happens, the user cannot get them back. They do not appear in the Rewards column for purchase (not even for zero gold), and when you click on them in the User > Customise Avatar screen, you get the `gearNotOwned` error.\r\n\r\nI don't know how they can be given false values. I've tested death, rebirth, and reset and none of them set the eyeglasses to false in my test account. However one user reported this (9db797f4-ef95-443f-9635-e74973294f08, their data is below, although it's now been fixed) and I found another 241 users in the database who had at least one eyeglass with a false value.\r\n\r\n````\r\n            \"items.gear.owned\": {\r\n                \"weapon_warrior_0\": true,\r\n                \"eyewear_special_yellowTopFrame\": false,\r\n                \"eyewear_special_whiteTopFrame\": false,\r\n                \"eyewear_special_redTopFrame\": false,\r\n                \"eyewear_special_pinkTopFrame\": false,\r\n                \"eyewear_special_greenTopFrame\": false,\r\n                \"eyewear_special_blueTopFrame\": false,\r\n                \"eyewear_special_blackTopFrame\": false,\r\n                \"weapon_warrior_1\": true,\r\n                \"weapon_warrior_2\": true\r\n            }\r\n````\r\n\r\nI'm going to adjust those 241 accounts to give them true values for all eyeglasses. Before I do that, does anyone want to do any investigation? @crookedneighbor ? @paglias ? @viirus is there anything in the apps that could cause this? I'm not going to bother looking through the accounts to see if I can find anything that correlates, but I will save the UUIDs. If I don't hear otherwise, I'll fix all of those accounts in a bit over 24 hours from now. I'll then periodically look for more accounts with the same problem to see if it was a once-off glitch or an ongoing bug.\r\n\r\nIf we can't find the cause soon and if we think it might reoccur, it might be worth removing whatever restriction prevents the eyeglasses from appearing in the Rewards column. If the user can buy them back for zero gold, this becomes just a minor annoyance."},"comment":{"url":"https://api.github.com/repos/HabitRPG/habitrpg/issues/comments/246878912","html_url":"https://github.com/HabitRPG/habitrpg/issues/7714#issuecomment-246878912","issue_url":"https://api.github.com/repos/HabitRPG/habitrpg/issues/7714","id":246878912,"user":{"login":"Ozzystrasza","id":20071290,"avatar_url":"https://avatars.githubusercontent.com/u/20071290?v=3","gravatar_id":"","url":"https://api.github.com/users/Ozzystrasza","html_url":"https://github.com/Ozzystrasza","followers_url":"https://api.github.com/users/Ozzystrasza/followers","following_url":"https://api.github.com/users/Ozzystrasza/following{/other_user}","gists_url":"https://api.github.com/users/Ozzystrasza/gists{/gist_id}","starred_url":"https://api.github.com/users/Ozzystrasza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ozzystrasza/subscriptions","organizations_url":"https://api.github.com/users/Ozzystrasza/orgs","repos_url":"https://api.github.com/users/Ozzystrasza/repos","events_url":"https://api.github.com/users/Ozzystrasza/events{/privacy}","received_events_url":"https://api.github.com/users/Ozzystrasza/received_events","type":"User","site_admin":false},"created_at":"2016-09-14T01:30:01Z","updated_at":"2016-09-14T01:30:01Z","body":"I will try this."}}
{"actor":{"display_login":"Ozzystrasza"}}