jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Manfred Baedke (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (JCR-3551) DavEx cannot handle Double.NaN properties
Date Thu, 11 Apr 2013 16:59:16 GMT

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

Manfred Baedke commented on JCR-3551:

Unfortunately org.apache.jackrabbit.server.remoting.davex.DiffParser doesn't know about type
hints either, if I see it correctly. That means that we can't set a property to a value of
Double.NaN on a remote repository.
I think the easiest fix is to send NaN/Infinity values as multiparts of type jcr-value/Double.
> DavEx cannot handle Double.NaN properties
> -----------------------------------------
>                 Key: JCR-3551
>                 URL: https://issues.apache.org/jira/browse/JCR-3551
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>          Components: jackrabbit-spi2dav
>    Affects Versions: 2.6
>            Reporter: Tobias Bocanegra
>            Assignee: Manfred Baedke
> reading nodes that contain Double.NaN properties fails with:
> java.lang.NumberFormatException: For input string: "NaN"
> because the serialized json contains 'NaN' as unquoted value. I'll try to debug more
to find the exact cause of this problem.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

View raw message