{"issue":{"user":{"id":867127,"login":"rick-c","url":"https://api.github.com/users/rick-c","gravatar_id":"ef161db1e29b67af87779ffbce215998","avatar_url":"https://secure.gravatar.com/avatar/ef161db1e29b67af87779ffbce215998?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"milestone":{"creator":{"id":627280,"login":"lildude","url":"https://api.github.com/users/lildude","gravatar_id":"f6ece762d883ad21cc1eaef67185c1ff","avatar_url":"https://secure.gravatar.com/avatar/f6ece762d883ad21cc1eaef67185c1ff?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"title":"0.9","created_at":"2011-08-05T06:54:13Z","open_issues":24,"state":"open","due_on":null,"closed_issues":2,"number":2,"description":"","url":"https://api.github.com/repos/habari/habari/milestones/2"},"title":"Undelete plugin doesn't account for deleted users","created_at":"2011-12-02T16:47:02Z","labels":[{"name":"critical","url":"https://api.github.com/repos/habari/habari/labels/critical","color":"d7e102"},{"name":"defect","url":"https://api.github.com/repos/habari/habari/labels/defect","color":"e10c02"}],"state":"open","updated_at":"2011-12-22T15:54:09Z","id":2430144,"closed_at":null,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"html_url":"https://github.com/habari/habari/issues/253","number":253,"body":"If one deletes a user with the undelete plugin active, and tell Habari to delete the user's posts, the posts are not permanently deleted. They are just marked as deleted. If one then goes to the manage posts page, one sees the following error for the deleted user's posts:\r\n\r\nNotice: Trying to get property of non-object in system/admin/post_items.php line 21\r\n\r\nIn line 21, Habari is looking for the post author, which no longer exists.","url":"https://api.github.com/repos/habari/habari/issues/253","comments":5,"assignee":null},"comment":{"user":{"id":867449,"login":"chrisjdavis","url":"https://api.github.com/users/chrisjdavis","gravatar_id":"b28a8eb46bf508ab193207d58c429121","avatar_url":"https://secure.gravatar.com/avatar/b28a8eb46bf508ab193207d58c429121?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"created_at":"2011-12-22T15:54:09Z","updated_at":"2011-12-22T15:54:09Z","id":3250528,"body":"Regardless of what we want to do long term, the bug at hand should be addressed. The options on the table seem to be actually deleting the posts, since the user is gone, or gracefully handling the call to the author. I am in favor of hard deleting the posts, since during user deletion the option of moving the posts to another user is available. \r\n\r\nIf that option isn't chosen, we should assume that the intention is to have those posts burninated. Or, you know, the user didn't see the option to move posts.\r\n\r\nThoughts?","url":"https://api.github.com/repos/habari/habari/issues/comments/3250528"},"action":"created"}