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

Handle service response effectively

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      As per discussion on Dev ML:
      ==========================
      Every service calling from java/groovy must handle errors by service util methods such as isError, reutrnError etc. and similarly in case of XML <call-service, there should be <check-error/> to make sure service was executed successfully.

      Apart from this, one suggestion is to include Debug.logError in ServiceUtil.returnProblem so that in case of any error occurred and handled, it will always be logged on the console.
      ==========================

      Attachments

        1. OFBIZ-9981.patch
          1 kB
          Suraj Khurana
        2. OFBIZ-9981-content.patch
          66 kB
          Suraj Khurana
        3. OFBIZ-9981-manufacturing.patch
          90 kB
          Suraj Khurana
        4. OFBIZ-9981-MAR-SECEXT-WE.patch
          8 kB
          Anushi Gupta
        5. OFBIZ-9981-order.patch
          108 kB
          Suraj Khurana
        6. OFBIZ-9981-party.patch
          25 kB
          Anushi Gupta
        7. OFBIZ-9981-plugins.patch
          80 kB
          Anushi Gupta
        8. OFBIZ-9981-product.patch
          57 kB
          Anushi Gupta

        Activity

          People

            jleroux Jacques Le Roux
            surajk Suraj Khurana
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: