[
https://issues.apache.org/jira/browse/OAK-185?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jukka Zitting resolved OAK-185.
-------------------------------
Resolution: Fixed
Fix Version/s: 0.4
Fixed in revision 1360923.
> Trying to remove a missing property throws PathNotFoundException
> ----------------------------------------------------------------
>
> Key: OAK-185
> URL: https://issues.apache.org/jira/browse/OAK-185
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: jcr
> Affects Versions: 0.3
> Reporter: Jukka Zitting
> Assignee: Jukka Zitting
> Priority: Minor
> Fix For: 0.4
>
>
> The following code snippet throws a {{PathNotFoundException}} if the
> "missing" property is not present.
> {code:java}
> node.setProperty("missing", (String) null);
> {code}
> A better way to handle such a case would be for the above statement to simply
> do nothing.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira