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

getAssociatedPriceRulesConds service return huge result

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: Trunk
    • Fix Version/s: Upcoming Branch
    • Component/s: product
    • Labels:
      None

      Description

      The service getAssociatedPriceRulesConds return some element to help the selection on product prise rule condition screen.

      The problem: all query to resolve element are realized without filter :

      from("Product").queryList()

      On big database, a call on this service generate a server saturation (load 1 Million product to a dropdown, isn't logical)

      To keep the benefit of this service as example to implement a custom service with filter, I introduce a limit range to 200. For much more it's better to improve the screen with a lookup.

        Attachments

          Activity

            People

            • Assignee:
              nmalin Nicolas Malin
              Reporter:
              nmalin Nicolas Malin
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: