jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Parvulescu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (JCR-3347) Searches on properties of type Decimal give unexpected results
Date Wed, 20 Jun 2012 14:18:42 GMT

    [ https://issues.apache.org/jira/browse/JCR-3347?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13397535#comment-13397535

Alex Parvulescu commented on JCR-3347:

I've commited a test using SQL2 and casts to Decimal values, for reference with revision 1352121.

FYI, if you plan on using Decimal values, use SQL2, as Xpath and SQL don't really have full
support for that data type.
> Searches on properties of type Decimal give unexpected results
> --------------------------------------------------------------
>                 Key: JCR-3347
>                 URL: https://issues.apache.org/jira/browse/JCR-3347
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>            Reporter: Felix Oghină
>            Assignee: Jukka Zitting
> Example:
> * have a node with a Decimal property, e.g. price=25
> * The following XPath query returns the node, although it shouldn't:
> /jcr:root/content//*[@d_price > 50.0]

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


View raw message