jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jukka Zitting (JIRA)" <j...@apache.org>
Subject [jira] Commented: (JCR-2591) Prevent single-valued property with no value after RTE
Date Mon, 12 Apr 2010 07:07:42 GMT

    [ 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

> 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


View raw message