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

MockValueMap does not permit to get a BigDecimal value

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    Description

      The get(String name, Class<T> type) method in MockValueMap.java does not support BigDecimal as a type. This is supported by the JcrValueMap and JcrPropertyMapCacheEntry classes, and hence means that it's not possible to test code that reads a BigDecimal property value from the JCR.

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            sseifert Stefan Seifert
            jelger Christophe Jelger
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment