You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Manfred Baedke (JIRA)" <ji...@apache.org> on 2013/04/11 18:59: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=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