{"action":"created","comment":{"url":"https://api.github.com/repos/fcrepo4/fcrepo4/pulls/comments/70465521","id":70465521,"diff_hunk":"@@ -195,6 +197,31 @@\n         tripleFormat.setTimeZone(getTimeZone(\"GMT\"));\n     }\n \n+    private static File TEST_FILE;","path":"fcrepo-http-api/src/test/java/org/fcrepo/integration/http/api/FedoraLdpIT.java","position":20,"original_position":20,"commit_id":"5202eff0edf603c4738e27ec6c0684fa38afbc90","original_commit_id":"5202eff0edf603c4738e27ec6c0684fa38afbc90","user":{"login":"ajs6f","id":110994,"avatar_url":"https://avatars.githubusercontent.com/u/110994?v=3","gravatar_id":"","url":"https://api.github.com/users/ajs6f","html_url":"https://github.com/ajs6f","followers_url":"https://api.github.com/users/ajs6f/followers","following_url":"https://api.github.com/users/ajs6f/following{/other_user}","gists_url":"https://api.github.com/users/ajs6f/gists{/gist_id}","starred_url":"https://api.github.com/users/ajs6f/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ajs6f/subscriptions","organizations_url":"https://api.github.com/users/ajs6f/orgs","repos_url":"https://api.github.com/users/ajs6f/repos","events_url":"https://api.github.com/users/ajs6f/events{/privacy}","received_events_url":"https://api.github.com/users/ajs6f/received_events","type":"User","site_admin":false},"body":"Why is `TEST_FILE` a `static` field? Why not just a local variable?","created_at":"2016-07-12T15:43:53Z","updated_at":"2016-07-12T15:43:53Z","html_url":"https://github.com/fcrepo4/fcrepo4/pull/1057#discussion_r70465521","pull_request_url":"https://api.github.com/repos/fcrepo4/fcrepo4/pulls/1057","_links":{"self":{"href":"https://api.github.com/repos/fcrepo4/fcrepo4/pulls/comments/70465521"},"html":{"href":"https://github.com/fcrepo4/fcrepo4/pull/1057#discussion_r70465521"},"pull_request":{"href":"https://api.github.com/repos/fcrepo4/fcrepo4/pulls/1057"}}},"pull_request":{"url":"https://api.github.com/repos/fcrepo4/fcrepo4/pulls/1057","id":75154965,"html_url":"https://github.com/fcrepo4/fcrepo4/pull/1057","diff_url":"https://github.com/fcrepo4/fcrepo4/pull/1057.diff","patch_url":"https://github.com/fcrepo4/fcrepo4/pull/1057.patch","issue_url":"https://api.github.com/repos/fcrepo4/fcrepo4/issues/1057","number":1057,"state":"open","locked":false,"title":"Prevent SN-Sibling from creating that triggering the ConstraintViolationException when replacing binary contents. FCREPO-2055","user":{"login":"lsitu","id":2430784,"avatar_url":"https://avatars.githubusercontent.com/u/2430784?v=3","gravatar_id":"","url":"https://api.github.com/users/lsitu","html_url":"https://github.com/lsitu","followers_url":"https://api.github.com/users/lsitu/followers","following_url":"https://api.github.com/users/lsitu/following{/other_user}","gists_url":"https://api.github.com/users/lsitu/gists{/gist_id}","starred_url":"https://api.github.com/users/lsitu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lsitu/subscriptions","organizations_url":"https://api.github.com/users/lsitu/orgs","repos_url":"https://api.github.com/users/lsitu/repos","events_url":"https://api.github.com/users/lsitu/events{/privacy}","received_events_url":"https://api.github.com/users/lsitu/received_events","type":"User","site_admin":false},"body":"@awoods, It's strange that we can't prevent SN-Sibling from creating at the first step when FedoraResource is created. So I think before calling the JCR session's save function should be the final chance to prevent any SN-Sibling nodes from created.","created_at":"2016-06-24T18:34:32Z","updated_at":"2016-07-12T15:43:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"de512afb969d33823966425d624371b0c0bbbfbf","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/fcrepo4/fcrepo4/pulls/1057/commits","review_comments_url":"https://api.github.com/repos/fcrepo4/fcrepo4/pulls/1057/comments","review_comment_url":"https://api.github.com/repos/fcrepo4/fcrepo4/pulls/comments{/number}","comments_url":"https://api.github.com/repos/fcrepo4/fcrepo4/issues/1057/comments","statuses_url":"https://api.github.com/repos/fcrepo4/fcrepo4/statuses/5202eff0edf603c4738e27ec6c0684fa38afbc90","head":{"label":"lsitu:feature/sn-sibing","ref":"feature/sn-sibing","sha":"5202eff0edf603c4738e27ec6c0684fa38afbc90","user":{"login":"lsitu","id":2430784,"avatar_url":"https://avatars.githubusercontent.com/u/2430784?v=3","gravatar_id":"","url":"https://api.github.com/users/lsitu","html_url":"https://github.com/lsitu","followers_url":"https://api.github.com/users/lsitu/followers","following_url":"https://api.github.com/users/lsitu/following{/other_user}","gists_url":"https://api.github.com/users/lsitu/gists{/gist_id}","starred_url":"https://api.github.com/users/lsitu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lsitu/subscriptions","organizations_url":"https://api.github.com/users/lsitu/orgs","repos_url":"https://api.github.com/users/lsitu/repos","events_url":"https://api.github.com/users/lsitu/events{/privacy}","received_events_url":"https://api.github.com/users/lsitu/received_events","type":"User","site_admin":false},"repo":{"id":18497364,"name":"fcrepo4","full_name":"lsitu/fcrepo4","owner":{"login":"lsitu","id":2430784,"avatar_url":"https://avatars.githubusercontent.com/u/2430784?v=3","gravatar_id":"","url":"https://api.github.com/users/lsitu","html_url":"https://github.com/lsitu","followers_url":"https://api.github.com/users/lsitu/followers","following_url":"https://api.github.com/users/lsitu/following{/other_user}","gists_url":"https://api.github.com/users/lsitu/gists{/gist_id}","starred_url":"https://api.github.com/users/lsitu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lsitu/subscriptions","organizations_url":"https://api.github.com/users/lsitu/orgs","repos_url":"https://api.github.com/users/lsitu/repos","events_url":"https://api.github.com/users/lsitu/events{/privacy}","received_events_url":"https://api.github.com/users/lsitu/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lsitu/fcrepo4","description":"Fedora 4: \"Changing everything, two weeks at a time\"","fork":true,"url":"https://api.github.com/repos/lsitu/fcrepo4","forks_url":"https://api.github.com/repos/lsitu/fcrepo4/forks","keys_url":"https://api.github.com/repos/lsitu/fcrepo4/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lsitu/fcrepo4/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lsitu/fcrepo4/teams","hooks_url":"https://api.github.com/repos/lsitu/fcrepo4/hooks","issue_events_url":"https://api.github.com/repos/lsitu/fcrepo4/issues/events{/number}","events_url":"https://api.github.com/repos/lsitu/fcrepo4/events","assignees_url":"https://api.github.com/repos/lsitu/fcrepo4/assignees{/user}","branches_url":"https://api.github.com/repos/lsitu/fcrepo4/branches{/branch}","tags_url":"https://api.github.com/repos/lsitu/fcrepo4/tags","blobs_url":"https://api.github.com/repos/lsitu/fcrepo4/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lsitu/fcrepo4/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lsitu/fcrepo4/git/refs{/sha}","trees_url":"https://api.github.com/repos/lsitu/fcrepo4/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lsitu/fcrepo4/statuses/{sha}","languages_url":"https://api.github.com/repos/lsitu/fcrepo4/languages","stargazers_url":"https://api.github.com/repos/lsitu/fcrepo4/stargazers","contributors_url":"https://api.github.com/repos/lsitu/fcrepo4/contributors","subscribers_url":"https://api.github.com/repos/lsitu/fcrepo4/subscribers","subscription_url":"https://api.github.com/repos/lsitu/fcrepo4/subscription","commits_url":"https://api.github.com/repos/lsitu/fcrepo4/commits{/sha}","git_commits_url":"https://api.github.com/repos/lsitu/fcrepo4/git/commits{/sha}","comments_url":"https://api.github.com/repos/lsitu/fcrepo4/comments{/number}","issue_comment_url":"https://api.github.com/repos/lsitu/fcrepo4/issues/comments{/number}","contents_url":"https://api.github.com/repos/lsitu/fcrepo4/contents/{+path}","compare_url":"https://api.github.com/repos/lsitu/fcrepo4/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lsitu/fcrepo4/merges","archive_url":"https://api.github.com/repos/lsitu/fcrepo4/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lsitu/fcrepo4/downloads","issues_url":"https://api.github.com/repos/lsitu/fcrepo4/issues{/number}","pulls_url":"https://api.github.com/repos/lsitu/fcrepo4/pulls{/number}","milestones_url":"https://api.github.com/repos/lsitu/fcrepo4/milestones{/number}","notifications_url":"https://api.github.com/repos/lsitu/fcrepo4/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lsitu/fcrepo4/labels{/name}","releases_url":"https://api.github.com/repos/lsitu/fcrepo4/releases{/id}","deployments_url":"https://api.github.com/repos/lsitu/fcrepo4/deployments","created_at":"2014-04-06T19:27:16Z","updated_at":"2016-06-16T18:25:40Z","pushed_at":"2016-07-12T15:32:43Z","git_url":"git://github.com/lsitu/fcrepo4.git","ssh_url":"git@github.com:lsitu/fcrepo4.git","clone_url":"https://github.com/lsitu/fcrepo4.git","svn_url":"https://github.com/lsitu/fcrepo4","homepage":"http://futures.github.com/fcrepo4/","size":50032,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"fcrepo4:master","ref":"master","sha":"ddee309f31c63daac5a42de4da6bdabfc2d45c92","user":{"login":"fcrepo4","id":3057565,"avatar_url":"https://avatars.githubusercontent.com/u/3057565?v=3","gravatar_id":"","url":"https://api.github.com/users/fcrepo4","html_url":"https://github.com/fcrepo4","followers_url":"https://api.github.com/users/fcrepo4/followers","following_url":"https://api.github.com/users/fcrepo4/following{/other_user}","gists_url":"https://api.github.com/users/fcrepo4/gists{/gist_id}","starred_url":"https://api.github.com/users/fcrepo4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fcrepo4/subscriptions","organizations_url":"https://api.github.com/users/fcrepo4/orgs","repos_url":"https://api.github.com/users/fcrepo4/repos","events_url":"https://api.github.com/users/fcrepo4/events{/privacy}","received_events_url":"https://api.github.com/users/fcrepo4/received_events","type":"Organization","site_admin":false},"repo":{"id":7992797,"name":"fcrepo4","full_name":"fcrepo4/fcrepo4","owner":{"login":"fcrepo4","id":3057565,"avatar_url":"https://avatars.githubusercontent.com/u/3057565?v=3","gravatar_id":"","url":"https://api.github.com/users/fcrepo4","html_url":"https://github.com/fcrepo4","followers_url":"https://api.github.com/users/fcrepo4/followers","following_url":"https://api.github.com/users/fcrepo4/following{/other_user}","gists_url":"https://api.github.com/users/fcrepo4/gists{/gist_id}","starred_url":"https://api.github.com/users/fcrepo4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fcrepo4/subscriptions","organizations_url":"https://api.github.com/users/fcrepo4/orgs","repos_url":"https://api.github.com/users/fcrepo4/repos","events_url":"https://api.github.com/users/fcrepo4/events{/privacy}","received_events_url":"https://api.github.com/users/fcrepo4/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/fcrepo4/fcrepo4","description":"Fedora 4","fork":false,"url":"https://api.github.com/repos/fcrepo4/fcrepo4","forks_url":"https://api.github.com/repos/fcrepo4/fcrepo4/forks","keys_url":"https://api.github.com/repos/fcrepo4/fcrepo4/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fcrepo4/fcrepo4/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fcrepo4/fcrepo4/teams","hooks_url":"https://api.github.com/repos/fcrepo4/fcrepo4/hooks","issue_events_url":"https://api.github.com/repos/fcrepo4/fcrepo4/issues/events{/number}","events_url":"https://api.github.com/repos/fcrepo4/fcrepo4/events","assignees_url":"https://api.github.com/repos/fcrepo4/fcrepo4/assignees{/user}","branches_url":"https://api.github.com/repos/fcrepo4/fcrepo4/branches{/branch}","tags_url":"https://api.github.com/repos/fcrepo4/fcrepo4/tags","blobs_url":"https://api.github.com/repos/fcrepo4/fcrepo4/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fcrepo4/fcrepo4/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fcrepo4/fcrepo4/git/refs{/sha}","trees_url":"https://api.github.com/repos/fcrepo4/fcrepo4/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fcrepo4/fcrepo4/statuses/{sha}","languages_url":"https://api.github.com/repos/fcrepo4/fcrepo4/languages","stargazers_url":"https://api.github.com/repos/fcrepo4/fcrepo4/stargazers","contributors_url":"https://api.github.com/repos/fcrepo4/fcrepo4/contributors","subscribers_url":"https://api.github.com/repos/fcrepo4/fcrepo4/subscribers","subscription_url":"https://api.github.com/repos/fcrepo4/fcrepo4/subscription","commits_url":"https://api.github.com/repos/fcrepo4/fcrepo4/commits{/sha}","git_commits_url":"https://api.github.com/repos/fcrepo4/fcrepo4/git/commits{/sha}","comments_url":"https://api.github.com/repos/fcrepo4/fcrepo4/comments{/number}","issue_comment_url":"https://api.github.com/repos/fcrepo4/fcrepo4/issues/comments{/number}","contents_url":"https://api.github.com/repos/fcrepo4/fcrepo4/contents/{+path}","compare_url":"https://api.github.com/repos/fcrepo4/fcrepo4/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fcrepo4/fcrepo4/merges","archive_url":"https://api.github.com/repos/fcrepo4/fcrepo4/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fcrepo4/fcrepo4/downloads","issues_url":"https://api.github.com/repos/fcrepo4/fcrepo4/issues{/number}","pulls_url":"https://api.github.com/repos/fcrepo4/fcrepo4/pulls{/number}","milestones_url":"https://api.github.com/repos/fcrepo4/fcrepo4/milestones{/number}","notifications_url":"https://api.github.com/repos/fcrepo4/fcrepo4/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fcrepo4/fcrepo4/labels{/name}","releases_url":"https://api.github.com/repos/fcrepo4/fcrepo4/releases{/id}","deployments_url":"https://api.github.com/repos/fcrepo4/fcrepo4/deployments","created_at":"2013-02-03T16:18:55Z","updated_at":"2016-07-12T13:27:43Z","pushed_at":"2016-07-12T15:32:44Z","git_url":"git://github.com/fcrepo4/fcrepo4.git","ssh_url":"git@github.com:fcrepo4/fcrepo4.git","clone_url":"https://github.com/fcrepo4/fcrepo4.git","svn_url":"https://github.com/fcrepo4/fcrepo4","homepage":"https://wiki.duraspace.org/display/FF/Fedora+Repository+Home","size":140273,"stargazers_count":64,"watchers_count":64,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":84,"mirror_url":null,"open_issues_count":28,"forks":84,"open_issues":28,"watchers":64,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/fcrepo4/fcrepo4/pulls/1057"},"html":{"href":"https://github.com/fcrepo4/fcrepo4/pull/1057"},"issue":{"href":"https://api.github.com/repos/fcrepo4/fcrepo4/issues/1057"},"comments":{"href":"https://api.github.com/repos/fcrepo4/fcrepo4/issues/1057/comments"},"review_comments":{"href":"https://api.github.com/repos/fcrepo4/fcrepo4/pulls/1057/comments"},"review_comment":{"href":"https://api.github.com/repos/fcrepo4/fcrepo4/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/fcrepo4/fcrepo4/pulls/1057/commits"},"statuses":{"href":"https://api.github.com/repos/fcrepo4/fcrepo4/statuses/5202eff0edf603c4738e27ec6c0684fa38afbc90"}}}}
{"actor":{"display_login":"ajs6f"}}