Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-9428

getResultsSizeAfterPartialList() return wrong count with distinct() for View Entity

    Details

      Description

      Here is the code sample to test the issue

      EntityListIterator productAssocListItr = null;
      productAssocListItr = from("ProductAndAssoc").distinct().queryIterator();
      productAssocListSize = productAssocListItr.getResultsSizeAfterPartialList();
      

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jacques.le.roux Jacques Le Roux
                Reporter:
                Renuka_Srishti Renuka Srishti
              • Votes:
                1 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: