{"action":"created","issue":{"url":"https://api.github.com/repos/diaspora/diaspora/issues/6655","labels_url":"https://api.github.com/repos/diaspora/diaspora/issues/6655/labels{/name}","comments_url":"https://api.github.com/repos/diaspora/diaspora/issues/6655/comments","events_url":"https://api.github.com/repos/diaspora/diaspora/issues/6655/events","html_url":"https://github.com/diaspora/diaspora/issues/6655","id":128420132,"number":6655,"title":"Clicking like, unlike and like again causes error","user":{"login":"abimelex","id":906623,"avatar_url":"https://avatars.githubusercontent.com/u/906623?v=3","gravatar_id":"","url":"https://api.github.com/users/abimelex","html_url":"https://github.com/abimelex","followers_url":"https://api.github.com/users/abimelex/followers","following_url":"https://api.github.com/users/abimelex/following{/other_user}","gists_url":"https://api.github.com/users/abimelex/gists{/gist_id}","starred_url":"https://api.github.com/users/abimelex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abimelex/subscriptions","organizations_url":"https://api.github.com/users/abimelex/orgs","repos_url":"https://api.github.com/users/abimelex/repos","events_url":"https://api.github.com/users/abimelex/events{/privacy}","received_events_url":"https://api.github.com/users/abimelex/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-01-24T19:46:28Z","updated_at":"2016-01-24T23:17:18Z","closed_at":null,"body":"Unliking / Dislike a Post and liking it again causes first 422 Server response:\r\n\r\ne.g.:\r\n\r\n`query-31118357fae53e3c73a4fab320688aad.js:3 POST https://pod.geraspora.de/posts/4427998/likes 422 (Unprocessable Entity)`\r\n\r\nAnd than JS errors on each click:\r\n\r\n`Uncaught TypeError: Cannot read property 'guid' of undefined`\r\n\r\nSteps to reproduce:\r\n- Like a post\r\n- Dislike a post\r\n- Like post again. --> Error\r\n\r\nExpected:\r\n- Post is liked again\r\n- Button or Linktext changes\r\n\r\n<bountysource-plugin>\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/30164722-clicking-like-unlike-and-like-again-causes-error?utm_campaign=plugin&utm_content=tracker%2F522&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F522&utm_medium=issues&utm_source=github).\r\n</bountysource-plugin>"},"comment":{"url":"https://api.github.com/repos/diaspora/diaspora/issues/comments/174351496","html_url":"https://github.com/diaspora/diaspora/issues/6655#issuecomment-174351496","issue_url":"https://api.github.com/repos/diaspora/diaspora/issues/6655","id":174351496,"user":{"login":"abimelex","id":906623,"avatar_url":"https://avatars.githubusercontent.com/u/906623?v=3","gravatar_id":"","url":"https://api.github.com/users/abimelex","html_url":"https://github.com/abimelex","followers_url":"https://api.github.com/users/abimelex/followers","following_url":"https://api.github.com/users/abimelex/following{/other_user}","gists_url":"https://api.github.com/users/abimelex/gists{/gist_id}","starred_url":"https://api.github.com/users/abimelex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abimelex/subscriptions","organizations_url":"https://api.github.com/users/abimelex/orgs","repos_url":"https://api.github.com/users/abimelex/repos","events_url":"https://api.github.com/users/abimelex/events{/privacy}","received_events_url":"https://api.github.com/users/abimelex/received_events","type":"User","site_admin":false},"created_at":"2016-01-24T23:17:18Z","updated_at":"2016-01-24T23:17:18Z","body":"Unlike seems to fail if the Post-owner is on the same pod. How is connected defined? "}}