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

One page checkout broken for registered user

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Trunk, 14.12.01
    • Fix Version/s: 14.12.01, 16.11.01
    • Component/s: ecommerce, order
    • Labels:
      None

      Description

      Onepage checkout process is broken for registered user.

      Error in Service [createPartyRole]: Value found (with ids 10000::CUSTOMER), cannot create a new one
      

      Its due to CheckoutServices.xml#createUpdateCustomerAndShippingAddress service, in this service if system try to create party role at line 54, as this service is used for create/update shipping address so at the time of create its working fine but at the time of update it fails to create same party role again.

        Activity

        Hide
        deepak.dixit Deepak Dixit added a comment -

        Here is the patch for this issue.

        Show
        deepak.dixit Deepak Dixit added a comment - Here is the patch for this issue.
        Hide
        jacques.le.roux Jacques Le Roux added a comment - - edited

        Thanks Deepak,

        Your patch is in
        trunk r1663202
        R14.12 r1663203

        Before closing, are we sure that older releases branches are not concerned?

        Show
        jacques.le.roux Jacques Le Roux added a comment - - edited Thanks Deepak, Your patch is in trunk r1663202 R14.12 r1663203 Before closing, are we sure that older releases branches are not concerned?
        Hide
        deepak.dixit Deepak Dixit added a comment -

        Thanks Jacques,

        This issue persists only for 14.12 and trunk as this issue occures due to commit r#1622161. As we converted all the PartyRole CRUD services from simple to entity-auto, earlier in createPartyRole service there was check for duplicate entry.

        Show
        deepak.dixit Deepak Dixit added a comment - Thanks Jacques, This issue persists only for 14.12 and trunk as this issue occures due to commit r#1622161. As we converted all the PartyRole CRUD services from simple to entity-auto, earlier in createPartyRole service there was check for duplicate entry.
        Hide
        jacques.le.roux Jacques Le Roux added a comment -

        OK I answered to myself, works on stable demo. I'm so focused on code and versionning than I spent few minutes looking in code rather than testing in demo with took me seconds :/

        Show
        jacques.le.roux Jacques Le Roux added a comment - OK I answered to myself, works on stable demo. I'm so focused on code and versionning than I spent few minutes looking in code rather than testing in demo with took me seconds :/
        Hide
        jacques.le.roux Jacques Le Roux added a comment - - edited

        Thanks Deepak, we crossed on wire, are we sure there are no other issues like that?

        This is also a question to Nicolas Malin

        Show
        jacques.le.roux Jacques Le Roux added a comment - - edited Thanks Deepak, we crossed on wire, are we sure there are no other issues like that? This is also a question to Nicolas Malin

          People

          • Assignee:
            jacques.le.roux Jacques Le Roux
            Reporter:
            deepak.dixit Deepak Dixit
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development