Jukka Zitting created OAK-185:
---------------------------------
Summary: 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
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