[jira] [Commented] (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] [Commented] (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:comment-tabpanel&focusedCommentId=16061857#comment-16061857 ]

Renuka Srishti commented on OFBIZ-9428:
---------------------------------------

I think OFBIZ-5701 is related to reported issue.

> 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
>
> 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 message was sent by Atlassian JIRA
(v6.4.14#64029)