[jira] [Closed] (OFBIZ-9428) getResultsSizeAfterPartialList() return wrong count with distinct() for View Entity

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Closed] (OFBIZ-9428) getResultsSizeAfterPartialList() return wrong count with distinct() for View Entity

Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-9428?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacques Le Roux closed OFBIZ-9428.
----------------------------------
       Resolution: Fixed
    Fix Version/s: Release Branch 13.07
                   Release Branch 14.12
                   Release Branch 15.12
                   16.11.04

Thanks Renuka, especially for your simple way to test.

This has been fixed with OFBIZ-5701

> getResultsSizeAfterPartialList() return wrong count with distinct() for View Entity
> -----------------------------------------------------------------------------------
>
>                 Key: OFBIZ-9428
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-9428
>             Project: OFBiz
>          Issue Type: Bug
>    Affects Versions: Trunk
>            Reporter: Renuka Srishti
>            Assignee: Jacques Le Roux
>             Fix For: 16.11.04, Release Branch 15.12, Release Branch 14.12, Release Branch 13.07
>
>
> Here is the code sample to test the issue
> {code}
> EntityListIterator productAssocListItr = null;
> productAssocListItr = from("ProductAndAssoc").distinct().queryIterator();
> productAssocListSize = productAssocListItr.getResultsSizeAfterPartialList();
> {code}
> productAssocListSize will differ from the actual distinct records in the ProductAndAssoc View Entity.
> This issue exists because it gives distinct records on the basis of the first column in the table.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)