Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-2446

Add support for BigDecimal JCR values

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: JCR Resource 2.1.0
    • Component/s: JCR
    • Labels:

      Description

      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.

      Likewise, you should be able to adapt a Property Resource into a BigDecimal.

        Attachments

          Activity

            People

            • Assignee:
              justinedelson Justin Edelson
              Reporter:
              jeyjey Jeff Young
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: