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

Load product dimension when and only when the product is created successfully

    XMLWordPrintableJSON

Details

    Description

      Service "loadType1ProductInProductDimension" is triggered by "createProduct" service on "commit" events in "async" mode.

      Sometimes, there're too much backend work to do after a product is created and before the whole transaction is commited, as other "sync" mode secas, transaction itself and so on.

      In such situation, the loadType1ProductInProductDimension service cannot get the product info because the new created product has not been truely commited yet, and then it will fail with error message "cannot found product" in log.

      Patch: use "global-commit" event instead of "commit" to resolve this problem.

      Attachments

        1. OFBIZ-4469.patch
          0.8 kB
          Leon

        Issue Links

          Activity

            People

              jleroux Jacques Le Roux
              utcb Leon
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: