[ 
http://jira.xwiki.org/jira/browse/XWIKI-2062?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Marius Dumitru Florea updated XWIKI-2062:
-----------------------------------------

        Summary: Aggregating an integer field using sum returns long  (was: 
Aggregating an integer field using Sum of)
       keywords: statistics, stats, long, integer, aggregation, sum
    Description: Most of the statistics related queries fail because the result 
of aggregating an integer field is a long value, and not an integer as 
expected. This explains "java.lang.ClassCastException: java.lang.Long cannot be 
cast to java.lang.Integer".

> Aggregating an integer field using sum returns long
> ---------------------------------------------------
>
>                 Key: XWIKI-2062
>                 URL: http://jira.xwiki.org/jira/browse/XWIKI-2062
>             Project: XWiki Platform
>          Issue Type: Bug
>          Components: Statistics
>         Environment: Any
>            Reporter: Marius Dumitru Florea
>            Priority: Critical
>
> Most of the statistics related queries fail because the result of aggregating 
> an integer field is a long value, and not an integer as expected. This 
> explains "java.lang.ClassCastException: java.lang.Long cannot be cast to 
> java.lang.Integer".

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.xwiki.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
notifications mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/notifications

Reply via email to