{"action":"created","issue":{"url":"https://api.github.com/repos/fcrepo4/fcrepo4/issues/1057","repository_url":"https://api.github.com/repos/fcrepo4/fcrepo4","labels_url":"https://api.github.com/repos/fcrepo4/fcrepo4/issues/1057/labels{/name}","comments_url":"https://api.github.com/repos/fcrepo4/fcrepo4/issues/1057/comments","events_url":"https://api.github.com/repos/fcrepo4/fcrepo4/issues/1057/events","html_url":"https://github.com/fcrepo4/fcrepo4/pull/1057","id":162205133,"number":1057,"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},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2016-06-24T18:34:32Z","updated_at":"2016-07-14T23:48:21Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/fcrepo4/fcrepo4/pulls/1057","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"},"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."},"comment":{"url":"https://api.github.com/repos/fcrepo4/fcrepo4/issues/comments/232824542","html_url":"https://github.com/fcrepo4/fcrepo4/pull/1057#issuecomment-232824542","issue_url":"https://api.github.com/repos/fcrepo4/fcrepo4/issues/1057","id":232824542,"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},"created_at":"2016-07-14T23:48:21Z","updated_at":"2016-07-14T23:48:21Z","body":"@awoods @ajs6f What's the next step would you like me to do, remove the synchronization keyword, change the save() method to static synchronized, or anything else? "}}
{"actor":{"display_login":"lsitu"}}