[ https://issues.apache.org/jira/browse/SLING-6416?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15760879#comment-15760879 ]
Stefan Seifert commented on SLING-6416: --------------------------------------- can you give an example what fails? just storing and reading a BigDecimal, or some sort of automatic type conversion getting values as BigDecimal stored in other decimal types internally and vice versa? > MockValueMap does not permit to get a BigDecimal value > ------------------------------------------------------ > > Key: SLING-6416 > URL: https://issues.apache.org/jira/browse/SLING-6416 > Project: Sling > Issue Type: Bug > Components: Testing > Affects Versions: Testing ResourceResolver Mock 1.1.14 > Reporter: Christophe Jelger > Assignee: Stefan Seifert > > 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. -- This message was sent by Atlassian JIRA (v6.3.4#6332)