{"action":"closed","issue":{"url":"https://api.github.com/repos/versionpress/versionpress/issues/876","repository_url":"https://api.github.com/repos/versionpress/versionpress","labels_url":"https://api.github.com/repos/versionpress/versionpress/issues/876/labels{/name}","comments_url":"https://api.github.com/repos/versionpress/versionpress/issues/876/comments","events_url":"https://api.github.com/repos/versionpress/versionpress/issues/876/events","html_url":"https://github.com/versionpress/versionpress/issues/876","id":146414894,"number":876,"title":"Undo does not work for added postmeta","user":{"login":"pavelevap","id":3008007,"avatar_url":"https://avatars.githubusercontent.com/u/3008007?v=3","gravatar_id":"","url":"https://api.github.com/users/pavelevap","html_url":"https://github.com/pavelevap","followers_url":"https://api.github.com/users/pavelevap/followers","following_url":"https://api.github.com/users/pavelevap/following{/other_user}","gists_url":"https://api.github.com/users/pavelevap/gists{/gist_id}","starred_url":"https://api.github.com/users/pavelevap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pavelevap/subscriptions","organizations_url":"https://api.github.com/users/pavelevap/orgs","repos_url":"https://api.github.com/users/pavelevap/repos","events_url":"https://api.github.com/users/pavelevap/events{/privacy}","received_events_url":"https://api.github.com/users/pavelevap/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/versionpress/versionpress/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/versionpress/versionpress/labels/scope:core","name":"scope:core","color":"c7def8"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/versionpress/versionpress/milestones/15","html_url":"https://github.com/versionpress/versionpress/milestones/3.0","labels_url":"https://api.github.com/repos/versionpress/versionpress/milestones/15/labels","id":1376935,"number":15,"title":"3.0","description":null,"creator":{"login":"borekb","id":101152,"avatar_url":"https://avatars.githubusercontent.com/u/101152?v=3","gravatar_id":"","url":"https://api.github.com/users/borekb","html_url":"https://github.com/borekb","followers_url":"https://api.github.com/users/borekb/followers","following_url":"https://api.github.com/users/borekb/following{/other_user}","gists_url":"https://api.github.com/users/borekb/gists{/gist_id}","starred_url":"https://api.github.com/users/borekb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/borekb/subscriptions","organizations_url":"https://api.github.com/users/borekb/orgs","repos_url":"https://api.github.com/users/borekb/repos","events_url":"https://api.github.com/users/borekb/events{/privacy}","received_events_url":"https://api.github.com/users/borekb/received_events","type":"User","site_admin":false},"open_issues":20,"closed_issues":247,"state":"open","created_at":"2015-10-26T11:51:47Z","updated_at":"2016-04-07T09:46:01Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2016-04-06T19:50:51Z","updated_at":"2016-04-07T09:46:01Z","closed_at":"2016-04-07T09:46:01Z","body":"When I try to undo commit related to added postmeta, I get following error: `Error: Overwritten changes can not be reverted.`\r\n\r\nSteps to reproduce:\r\n\r\n1) Add any postmeta to any post: commit \"Created postmeta AB for post CD\".\r\n2) Save (update) this post: commit \"Updated post CD\".\r\n3) Try to undo first postmeta commit.\r\n\r\nRelated question: Should we commit every post update even if only `post_modified` was changed? It can lead to many commits without relevant values."}}