jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "angela (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OAK-3632) Incorrect Value Conversion upon Node.setProperty and Node.setValue
Date Tue, 17 Nov 2015 08:23:10 GMT

    [ https://issues.apache.org/jira/browse/OAK-3632?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15008251#comment-15008251

angela commented on OAK-3632:

looking at the {{ValueFactoryImpl}} i found that it deals with some of the non-compliant behavior
by caching runtime exceptions, which is probably the reason that we didn't spot this up to
now. afaik the TCK only checks for the conversions in the {{ValueFactory}} and not upon writing.

what we could do, is e.g. introducting a simple method that checks for the validity of the
conversion first. 

> Incorrect Value Conversion upon Node.setProperty and Node.setValue
> ------------------------------------------------------------------
>                 Key: OAK-3632
>                 URL: https://issues.apache.org/jira/browse/OAK-3632
>             Project: Jackrabbit Oak
>          Issue Type: Technical task
>          Components: jcr
>            Reporter: angela
> see container issue for test-cases and description

This message was sent by Atlassian JIRA

View raw message