{"action":"opened","issue":{"url":"https://api.github.com/repos/marklogic/java-client-api/issues/408","repository_url":"https://api.github.com/repos/marklogic/java-client-api","labels_url":"https://api.github.com/repos/marklogic/java-client-api/issues/408/labels{/name}","comments_url":"https://api.github.com/repos/marklogic/java-client-api/issues/408/comments","events_url":"https://api.github.com/repos/marklogic/java-client-api/issues/408/events","html_url":"https://github.com/marklogic/java-client-api/issues/408","id":145824990,"number":408,"title":"Document properties are not removed when the DocumentMetadataHandle.DocumentProperties is cleared.","user":{"login":"sanjuthomas","id":949540,"avatar_url":"https://avatars.githubusercontent.com/u/949540?v=3","gravatar_id":"","url":"https://api.github.com/users/sanjuthomas","html_url":"https://github.com/sanjuthomas","followers_url":"https://api.github.com/users/sanjuthomas/followers","following_url":"https://api.github.com/users/sanjuthomas/following{/other_user}","gists_url":"https://api.github.com/users/sanjuthomas/gists{/gist_id}","starred_url":"https://api.github.com/users/sanjuthomas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sanjuthomas/subscriptions","organizations_url":"https://api.github.com/users/sanjuthomas/orgs","repos_url":"https://api.github.com/users/sanjuthomas/repos","events_url":"https://api.github.com/users/sanjuthomas/events{/privacy}","received_events_url":"https://api.github.com/users/sanjuthomas/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-04T22:46:40Z","updated_at":"2016-04-04T22:46:40Z","closed_at":null,"body":"How to reproduce?\r\n\r\n1. Add a property to any document.\r\n2. Load the document and property using java API.\r\n3. Clear the properties (set to null)\r\n4. And save the document along with properties. \r\n5. Properties are not removed from the document. "}}