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

Having condition is ignored on queryList() and queryFirst() calls in EntityQuery

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: Trunk
    • Fix Version/s: 17.12.01, 16.11.06
    • Component/s: ALL COMPONENTS
    • Labels:
      None

      Description

      queryList() and queryFirst() both call internal private query() method. This method calls delegator.findList if a normal Entity/ViewEntity is used (not a DVE). This has no option to include a having condition and so must opt to use queryIterator(). Even queryCount() can use a having condition

        Attachments

        1. OFBIZ-9890.patch
          0.8 kB
          Gareth Carter

          Activity

            People

            • Assignee:
              jleroux Jacques Le Roux
              Reporter:
              gareth.carter Gareth Carter
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: