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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • Trunk
    • 16.11.06, 17.12.01
    • ALL COMPONENTS
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: