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

Exception Error reflecting while Quick Checkout

Details

    Description

      Steps to Regenerate
      1. Login to https://demo-trunk.ofbiz.apache.org/ecommerce/control/quickcheckout
      2. Add a few products to the cart.
      3. View Cart and opt for Quick Checkout.
      4. Or Proceed to checkout.
      5. Fill all the details and try to place order.

      Actual:
      Exception Error is rendered.
      The Image is attached for reference.

      Attachments

        1. ExceptionError.png
          32 kB
          Archana Asthana
        2. OFBIZ-11506.patch
          1 kB
          Mohammed Rehan Khan

        Issue Links

          Activity

            I have provided the patch for this issue.
             
            Here is the detail: 
            getRelatedParties service(groovy) was returning duplicate key of relatedPartyIdList. So HashMap was passed instead of List of string in entity condition that's why we are getting type casting error.

            I found that this change was committed under the ticket OFBIZ-11361

            Thanks, archana.asthana for reporting the issue.


            Thanks !!

             

            rehan.khan Mohammed Rehan Khan added a comment - I have provided the patch for this issue.   Here is the detail:  getRelatedParties service(groovy) was returning duplicate key of relatedPartyIdList. So HashMap was passed instead of List of string in entity condition that's why we are getting type casting error. I found that this change was committed under the ticket OFBIZ-11361 Thanks,  archana.asthana for reporting the issue. – Thanks !!  

            Commit e2901786c28707a49809bbd3974eb6623a74112a in ofbiz-framework's branch refs/heads/trunk from Pawan Verma
            [ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=e290178 ]

            Fixed: Exception Error reflecting while Ecommerce Quick Checkout and Ordermgr Checkout
            (OFBIZ-11506)

            Here is more detail:
            getRelatedParties service(groovy) was returning duplicate key of relatedPartyIdList. So HashMap was passed instead of List of string in entity condition that's why we are getting type casting error.

            Thanks: Archana Asthana for report and Mohammed Rehan Khan for the patch.

            jira-bot ASF subversion and git services added a comment - Commit e2901786c28707a49809bbd3974eb6623a74112a in ofbiz-framework's branch refs/heads/trunk from Pawan Verma [ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=e290178 ] Fixed: Exception Error reflecting while Ecommerce Quick Checkout and Ordermgr Checkout ( OFBIZ-11506 ) Here is more detail: getRelatedParties service(groovy) was returning duplicate key of relatedPartyIdList. So HashMap was passed instead of List of string in entity condition that's why we are getting type casting error. Thanks: Archana Asthana for report and Mohammed Rehan Khan for the patch.
            pawan Pawan Verma added a comment -

            Thanks, Archana Asthana for the report and Mohammed Rehan Khan for the patch.

            rehan.khan your slightly modified patch is in Trunk at e2901786c28707a49809bbd3974eb6623a74112a.

            pawan Pawan Verma added a comment - Thanks, Archana Asthana for the report and Mohammed Rehan Khan for the patch. rehan.khan  your slightly modified patch is in Trunk at e2901786c28707a49809bbd3974eb6623a74112a.
            pawan Pawan Verma added a comment -

            This issue arose after the conversion of XML service to Groovy so this is only related to Trunk.

            pawan Pawan Verma added a comment - This issue arose after the conversion of XML service to Groovy so this is only related to Trunk.

            People

              pawan Pawan Verma
              archana.asthana Archana Asthana
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: