[ https://issues.apache.org/jira/browse/JCR-2591?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12855868#action_12855868 ]
Jukka Zitting commented on JCR-2591: ------------------------------------ Do we have cases where this is needed? AFAIUI none of the relevant code paths should be throwing RTEs. > Prevent single-valued property with no value after RTE > ------------------------------------------------------ > > Key: JCR-2591 > URL: https://issues.apache.org/jira/browse/JCR-2591 > Project: Jackrabbit Content Repository > Issue Type: Improvement > Components: jackrabbit-core > Affects Versions: 1.6.1 > Reporter: Stephan Huttenhuis > Attachments: JCR-2591.patch > > > In NodeImpl a newly created property is removed when a checked > RepositoryException occurs when setting the value. But if a RuntimeException > occurs it is not removed again. It is better to remove it always if settings > the value was unsuccessful. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira