{"action":"created","issue":{"url":"https://api.github.com/repos/fruux/sabre-dav/issues/659","labels_url":"https://api.github.com/repos/fruux/sabre-dav/issues/659/labels{/name}","comments_url":"https://api.github.com/repos/fruux/sabre-dav/issues/659/comments","events_url":"https://api.github.com/repos/fruux/sabre-dav/issues/659/events","html_url":"https://github.com/fruux/sabre-dav/issues/659","id":78473560,"number":659,"title":"Call to undefined method getETag()","user":{"login":"jurgenhaas","id":1475675,"avatar_url":"https://avatars.githubusercontent.com/u/1475675?v=3","gravatar_id":"","url":"https://api.github.com/users/jurgenhaas","html_url":"https://github.com/jurgenhaas","followers_url":"https://api.github.com/users/jurgenhaas/followers","following_url":"https://api.github.com/users/jurgenhaas/following{/other_user}","gists_url":"https://api.github.com/users/jurgenhaas/gists{/gist_id}","starred_url":"https://api.github.com/users/jurgenhaas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jurgenhaas/subscriptions","organizations_url":"https://api.github.com/users/jurgenhaas/orgs","repos_url":"https://api.github.com/users/jurgenhaas/repos","events_url":"https://api.github.com/users/jurgenhaas/events{/privacy}","received_events_url":"https://api.github.com/users/jurgenhaas/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/fruux/sabre-dav/labels/bug","name":"bug","color":"e10c02"}],"state":"open","locked":false,"assignee":{"login":"evert","id":178960,"avatar_url":"https://avatars.githubusercontent.com/u/178960?v=3","gravatar_id":"","url":"https://api.github.com/users/evert","html_url":"https://github.com/evert","followers_url":"https://api.github.com/users/evert/followers","following_url":"https://api.github.com/users/evert/following{/other_user}","gists_url":"https://api.github.com/users/evert/gists{/gist_id}","starred_url":"https://api.github.com/users/evert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evert/subscriptions","organizations_url":"https://api.github.com/users/evert/orgs","repos_url":"https://api.github.com/users/evert/repos","events_url":"https://api.github.com/users/evert/events{/privacy}","received_events_url":"https://api.github.com/users/evert/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/fruux/sabre-dav/milestones/3","html_url":"https://github.com/fruux/sabre-dav/milestones/3.0","labels_url":"https://api.github.com/repos/fruux/sabre-dav/milestones/3/labels","id":734364,"number":3,"title":"3.0","description":"XML rewrite release","creator":{"login":"evert","id":178960,"avatar_url":"https://avatars.githubusercontent.com/u/178960?v=3","gravatar_id":"","url":"https://api.github.com/users/evert","html_url":"https://github.com/evert","followers_url":"https://api.github.com/users/evert/followers","following_url":"https://api.github.com/users/evert/following{/other_user}","gists_url":"https://api.github.com/users/evert/gists{/gist_id}","starred_url":"https://api.github.com/users/evert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evert/subscriptions","organizations_url":"https://api.github.com/users/evert/orgs","repos_url":"https://api.github.com/users/evert/repos","events_url":"https://api.github.com/users/evert/events{/privacy}","received_events_url":"https://api.github.com/users/evert/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":16,"state":"open","created_at":"2014-07-28T17:29:33Z","updated_at":"2015-05-21T12:50:51Z","due_on":"2015-05-21T21:00:00Z","closed_at":null},"comments":5,"created_at":"2015-05-20T10:45:44Z","updated_at":"2015-05-21T12:56:46Z","closed_at":null,"body":"I know this has been reported and \"fixed\" in #428 but I found another occurance in the 2.x branch. In Sabre\\DAV\\Server.php line 1347 there is ```$etag = $node->getETag();``` and in my case the $node is an instance of SimpleCollection which doesn't implement that method.\r\n\r\nShould the Method getETag be implemented in Node and by default return NULL?"},"comment":{"url":"https://api.github.com/repos/fruux/sabre-dav/issues/comments/104262859","html_url":"https://github.com/fruux/sabre-dav/issues/659#issuecomment-104262859","issue_url":"https://api.github.com/repos/fruux/sabre-dav/issues/659","id":104262859,"user":{"login":"evert","id":178960,"avatar_url":"https://avatars.githubusercontent.com/u/178960?v=3","gravatar_id":"","url":"https://api.github.com/users/evert","html_url":"https://github.com/evert","followers_url":"https://api.github.com/users/evert/followers","following_url":"https://api.github.com/users/evert/following{/other_user}","gists_url":"https://api.github.com/users/evert/gists{/gist_id}","starred_url":"https://api.github.com/users/evert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evert/subscriptions","organizations_url":"https://api.github.com/users/evert/orgs","repos_url":"https://api.github.com/users/evert/repos","events_url":"https://api.github.com/users/evert/events{/privacy}","received_events_url":"https://api.github.com/users/evert/received_events","type":"User","site_admin":false},"created_at":"2015-05-21T12:56:46Z","updated_at":"2015-05-21T12:56:46Z","body":"Yes but as far as I can tell this would only be triggered in a case where a client sends an `If-Match` header (or `If-None-Match`, which has the same problem) along with a request that never defined an ETag header in the first place.\r\n\r\nWithout the (broken) `If-Match` / `If-None-Match` header, the bug would not occur."}}