You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Jukka Zitting (JIRA)" <ji...@apache.org> on 2013/03/27 21:19:16 UTC

[jira] [Commented] (JCR-3551) DavEx cannot handle Double.NaN properties

    [ 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