{"action":"created","comment":{"url":"https://api.github.com/repos/fcrepo4/fcrepo4/pulls/comments/40229619","id":40229619,"diff_hunk":"@@ -213,18 +222,34 @@ public void removeNodeProperty(final Node node, final String propertyName, final\n                 // we only need to update the property if we did anything.\n                 if (remove.get()) {\n                     if (newValues.length == 0) {\n-                        LOGGER.debug(\"Removing property {}\", propertyName);\n+                        LOGGER.debug(\"Removing property '{}'\", propertyName);\n                         property.remove();\n                     } else {\n-                        LOGGER.debug(\"Removing value {} from property {}\", valueToRemove, propertyName);\n+                        LOGGER.debug(\"Removing value '{}' from property '{}'\", valueToRemove, propertyName);\n                         property.setValue(newValues);\n                     }\n+                } else {\n+                    LOGGER.info(\"Value not removed from property name '{}' (value '{}')\", propertyName,\n+                            valueToRemove);\n                 }\n \n             } else {\n-                if (property.getValue().equals(valueToRemove)) {\n-                    LOGGER.debug(\"Removing value from property {}\", propertyName);\n-                    property.remove();\n+\n+                String strVal = \"\";\n+                try {\n+                    strVal = property.getValue().getString();\n+\n+                    if (property.getValue().equals(valueToRemove)) {\n+                        LOGGER.debug(\"single value: Removing value from property {}\", propertyName);\n+                        property.remove();\n+                    } else {\n+                        LOGGER.info(\"Value not removed from property name '{}' (value '{}')\", propertyName,","path":"fcrepo-kernel-modeshape/src/main/java/org/fcrepo/kernel/modeshape/utils/NodePropertiesTools.java","position":61,"original_position":61,"commit_id":"2031e3f993c38f3e8e501dbb2a3f66d61a6d2cb2","original_commit_id":"2031e3f993c38f3e8e501dbb2a3f66d61a6d2cb2","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":"Is this `INFO` when the message above is `DEBUG`?","created_at":"2015-09-23T17:08:36Z","updated_at":"2015-09-23T17:08:36Z","html_url":"https://github.com/fcrepo4/fcrepo4/pull/911#discussion_r40229619","pull_request_url":"https://api.github.com/repos/fcrepo4/fcrepo4/pulls/911","_links":{"self":{"href":"https://api.github.com/repos/fcrepo4/fcrepo4/pulls/comments/40229619"},"html":{"href":"https://github.com/fcrepo4/fcrepo4/pull/911#discussion_r40229619"},"pull_request":{"href":"https://api.github.com/repos/fcrepo4/fcrepo4/pulls/911"}}},"pull_request":{"url":"https://api.github.com/repos/fcrepo4/fcrepo4/pulls/911","id":45804187,"html_url":"https://github.com/fcrepo4/fcrepo4/pull/911","diff_url":"https://github.com/fcrepo4/fcrepo4/pull/911.diff","patch_url":"https://github.com/fcrepo4/fcrepo4/pull/911.patch","issue_url":"https://api.github.com/repos/fcrepo4/fcrepo4/issues/911","number":911,"state":"open","locked":false,"title":"Users can now delete large literal property values.","user":{"login":"bseeger","id":7966375,"avatar_url":"https://avatars.githubusercontent.com/u/7966375?v=3","gravatar_id":"","url":"https://api.github.com/users/bseeger","html_url":"https://github.com/bseeger","followers_url":"https://api.github.com/users/bseeger/followers","following_url":"https://api.github.com/users/bseeger/following{/other_user}","gists_url":"https://api.github.com/users/bseeger/gists{/gist_id}","starred_url":"https://api.github.com/users/bseeger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bseeger/subscriptions","organizations_url":"https://api.github.com/users/bseeger/orgs","repos_url":"https://api.github.com/users/bseeger/repos","events_url":"https://api.github.com/users/bseeger/events{/privacy}","received_events_url":"https://api.github.com/users/bseeger/received_events","type":"User","site_admin":false},"body":"- Large literals that are stored in the binary store are now removeable\r\nvia standard means.\r\n\r\nResolves: https://jira.duraspace.org/browse/FCREPO-1561\r\n\r\n\r\n","created_at":"2015-09-23T16:59:33Z","updated_at":"2015-09-23T17:08:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3ee3c2cbbe63d009ee3dfa1583bcd72cd8e1fd15","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/fcrepo4/fcrepo4/pulls/911/commits","review_comments_url":"https://api.github.com/repos/fcrepo4/fcrepo4/pulls/911/comments","review_comment_url":"https://api.github.com/repos/fcrepo4/fcrepo4/pulls/comments{/number}","comments_url":"https://api.github.com/repos/fcrepo4/fcrepo4/issues/911/comments","statuses_url":"https://api.github.com/repos/fcrepo4/fcrepo4/statuses/2031e3f993c38f3e8e501dbb2a3f66d61a6d2cb2","head":{"label":"bseeger:fcrepo-1561","ref":"fcrepo-1561","sha":"2031e3f993c38f3e8e501dbb2a3f66d61a6d2cb2","user":{"login":"bseeger","id":7966375,"avatar_url":"https://avatars.githubusercontent.com/u/7966375?v=3","gravatar_id":"","url":"https://api.github.com/users/bseeger","html_url":"https://github.com/bseeger","followers_url":"https://api.github.com/users/bseeger/followers","following_url":"https://api.github.com/users/bseeger/following{/other_user}","gists_url":"https://api.github.com/users/bseeger/gists{/gist_id}","starred_url":"https://api.github.com/users/bseeger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bseeger/subscriptions","organizations_url":"https://api.github.com/users/bseeger/orgs","repos_url":"https://api.github.com/users/bseeger/repos","events_url":"https://api.github.com/users/bseeger/events{/privacy}","received_events_url":"https://api.github.com/users/bseeger/received_events","type":"User","site_admin":false},"repo":{"id":41041421,"name":"fcrepo4","full_name":"bseeger/fcrepo4","owner":{"login":"bseeger","id":7966375,"avatar_url":"https://avatars.githubusercontent.com/u/7966375?v=3","gravatar_id":"","url":"https://api.github.com/users/bseeger","html_url":"https://github.com/bseeger","followers_url":"https://api.github.com/users/bseeger/followers","following_url":"https://api.github.com/users/bseeger/following{/other_user}","gists_url":"https://api.github.com/users/bseeger/gists{/gist_id}","starred_url":"https://api.github.com/users/bseeger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bseeger/subscriptions","organizations_url":"https://api.github.com/users/bseeger/orgs","repos_url":"https://api.github.com/users/bseeger/repos","events_url":"https://api.github.com/users/bseeger/events{/privacy}","received_events_url":"https://api.github.com/users/bseeger/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bseeger/fcrepo4","description":"Fedora 4","fork":true,"url":"https://api.github.com/repos/bseeger/fcrepo4","forks_url":"https://api.github.com/repos/bseeger/fcrepo4/forks","keys_url":"https://api.github.com/repos/bseeger/fcrepo4/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bseeger/fcrepo4/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bseeger/fcrepo4/teams","hooks_url":"https://api.github.com/repos/bseeger/fcrepo4/hooks","issue_events_url":"https://api.github.com/repos/bseeger/fcrepo4/issues/events{/number}","events_url":"https://api.github.com/repos/bseeger/fcrepo4/events","assignees_url":"https://api.github.com/repos/bseeger/fcrepo4/assignees{/user}","branches_url":"https://api.github.com/repos/bseeger/fcrepo4/branches{/branch}","tags_url":"https://api.github.com/repos/bseeger/fcrepo4/tags","blobs_url":"https://api.github.com/repos/bseeger/fcrepo4/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bseeger/fcrepo4/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bseeger/fcrepo4/git/refs{/sha}","trees_url":"https://api.github.com/repos/bseeger/fcrepo4/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bseeger/fcrepo4/statuses/{sha}","languages_url":"https://api.github.com/repos/bseeger/fcrepo4/languages","stargazers_url":"https://api.github.com/repos/bseeger/fcrepo4/stargazers","contributors_url":"https://api.github.com/repos/bseeger/fcrepo4/contributors","subscribers_url":"https://api.github.com/repos/bseeger/fcrepo4/subscribers","subscription_url":"https://api.github.com/repos/bseeger/fcrepo4/subscription","commits_url":"https://api.github.com/repos/bseeger/fcrepo4/commits{/sha}","git_commits_url":"https://api.github.com/repos/bseeger/fcrepo4/git/commits{/sha}","comments_url":"https://api.github.com/repos/bseeger/fcrepo4/comments{/number}","issue_comment_url":"https://api.github.com/repos/bseeger/fcrepo4/issues/comments{/number}","contents_url":"https://api.github.com/repos/bseeger/fcrepo4/contents/{+path}","compare_url":"https://api.github.com/repos/bseeger/fcrepo4/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bseeger/fcrepo4/merges","archive_url":"https://api.github.com/repos/bseeger/fcrepo4/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bseeger/fcrepo4/downloads","issues_url":"https://api.github.com/repos/bseeger/fcrepo4/issues{/number}","pulls_url":"https://api.github.com/repos/bseeger/fcrepo4/pulls{/number}","milestones_url":"https://api.github.com/repos/bseeger/fcrepo4/milestones{/number}","notifications_url":"https://api.github.com/repos/bseeger/fcrepo4/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bseeger/fcrepo4/labels{/name}","releases_url":"https://api.github.com/repos/bseeger/fcrepo4/releases{/id}","created_at":"2015-08-19T15:05:27Z","updated_at":"2015-08-19T15:05:30Z","pushed_at":"2015-09-23T16:56:29Z","git_url":"git://github.com/bseeger/fcrepo4.git","ssh_url":"git@github.com:bseeger/fcrepo4.git","clone_url":"https://github.com/bseeger/fcrepo4.git","svn_url":"https://github.com/bseeger/fcrepo4","homepage":"http://github.com/fcrepo4/fcrepo4","size":72969,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"fcrepo4:master","ref":"master","sha":"51d92027bc6afbf0053e1e50787682ba33af496b","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}","created_at":"2013-02-03T16:18:55Z","updated_at":"2015-08-24T15:22:12Z","pushed_at":"2015-09-23T16:59:34Z","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":"http://github.com/fcrepo4/fcrepo4","size":162263,"stargazers_count":54,"watchers_count":54,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":77,"mirror_url":null,"open_issues_count":40,"forks":77,"open_issues":40,"watchers":54,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/fcrepo4/fcrepo4/pulls/911"},"html":{"href":"https://github.com/fcrepo4/fcrepo4/pull/911"},"issue":{"href":"https://api.github.com/repos/fcrepo4/fcrepo4/issues/911"},"comments":{"href":"https://api.github.com/repos/fcrepo4/fcrepo4/issues/911/comments"},"review_comments":{"href":"https://api.github.com/repos/fcrepo4/fcrepo4/pulls/911/comments"},"review_comment":{"href":"https://api.github.com/repos/fcrepo4/fcrepo4/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/fcrepo4/fcrepo4/pulls/911/commits"},"statuses":{"href":"https://api.github.com/repos/fcrepo4/fcrepo4/statuses/2031e3f993c38f3e8e501dbb2a3f66d61a6d2cb2"}}}}