You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Jeff Young (Commented) (JIRA)" <ji...@apache.org> on 2012/03/23 15:25:28 UTC

[jira] [Commented] (SLING-2446) JCR-1609 added DecimalType, but it didn't get in to Sling's JcrPropertyMap

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

Jeff Young commented on SLING-2446:
-----------------------------------

Hi Justin,

Just to note that I'm working on a patch; should be uploaded in a few hours.

Cheers,
Jeff.



                
> JCR-1609 added DecimalType, but it didn't get in to Sling's JcrPropertyMap
> --------------------------------------------------------------------------
>
>                 Key: SLING-2446
>                 URL: https://issues.apache.org/jira/browse/SLING-2446
>             Project: Sling
>          Issue Type: Bug
>          Components: JCR
>            Reporter: Jeff Young
>            Assignee: Justin Edelson
>              Labels: newbie, patch
>             Fix For: JCR Resource 2.1.0
>
>
> JCR supports the typehint {Decimal} for java.math.BigDecimal, but JcrPropertyMap doesn't know about it so doing a map.get(propName, BigDecimal.class) returns null.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira