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-3551) DavEx cannot handle Double.NaN properties
Date Wed, 27 Mar 2013 20:19:16 GMT

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

Jukka Zitting commented on JCR-3551:
------------------------------------

It seems like the correct solution here would be for the DavEx server to send NaN and infinity
values as type-hinted strings instead of raw numbers.
                
> 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: Tobias Bocanegra
>
> 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

Mime
View raw message