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

Code Improvement on Product Config

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • Trunk
    • 17.12.01
    • product
    • None

    Description

      I noticed a couple of code improvements on product config current code. Here is the reference:

      • In ProductConfigWorker.fillProductConfigWrapper() method, currently, we only check parameters map, while it is possible in a business environment that user can submit required fields values in request attributes as well. So here getCombinedMap method can be used to make it more efficient.
      • While calling constructor of ConfigOption (ConfigOption(ConfigOption co)), some private members should also be copied, like componentOptions etc.

      Attachments

        1. OFBIZ-9281.patch
          5 kB
          Suraj Khurana

        Activity

          People

            toashishvijay Ashish Vijaywargiya
            surajk Suraj Khurana
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: