OFBiz
  1. OFBiz
  2. OFBIZ-765

Create New Customer fails if done after initial/aborted anonymous checkout

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: SVN trunk
    • Fix Version/s: SVN trunk
    • Labels:
      None

      Description

      Create New Customer fails if done after initial/aborted anonymous checkout.

      The solution to this would be to add something to the new customer event that detects that an anonymous user was in the session and cart, and then to have it remove that user when ready and replace it with the new customer account created.

        Activity

        Hide
        Sascha Rodekamp added a comment -

        Fixed in Trunk @Rev1177189

        Show
        Sascha Rodekamp added a comment - Fixed in Trunk @Rev1177189
        Hide
        Sascha Rodekamp added a comment -

        Hi David, hi Scott,

        i've a small snippet to fix this issue.

        I only could reproduce this error when trying to register after a initial/aborted anon checkout. David you said there are certain other places where this occurs. Could you remember in which cases the exception raises?

        Show
        Sascha Rodekamp added a comment - Hi David, hi Scott, i've a small snippet to fix this issue. I only could reproduce this error when trying to register after a initial/aborted anon checkout. David you said there are certain other places where this occurs. Could you remember in which cases the exception raises?
        Hide
        Scott Gray added a comment -

        Thanks David, I'll take another look at home tonight

        Show
        Scott Gray added a comment - Thanks David, I'll take another look at home tonight
        Hide
        David E. Jones added a comment -

        This ONLY happens after an aborted anonymous checkout, ie after you get past the first page in the anonymous checkout process. If you then try to create a new customer or do certain other things, it will blow up.

        Show
        David E. Jones added a comment - This ONLY happens after an aborted anonymous checkout, ie after you get past the first page in the anonymous checkout process. If you then try to create a new customer or do certain other things, it will blow up.
        Hide
        Scott Gray added a comment -

        I'm having trouble recreating this bug, can anyone provide some steps to follow?

        I tried this:
        Goto to ecommerce without logging in
        Add something to the cart
        Check out without login (I tried quick and standard)
        Return to login and create a new account

        Show
        Scott Gray added a comment - I'm having trouble recreating this bug, can anyone provide some steps to follow? I tried this: Goto to ecommerce without logging in Add something to the cart Check out without login (I tried quick and standard) Return to login and create a new account

          People

          • Assignee:
            Sascha Rodekamp
            Reporter:
            David E. Jones
          • Votes:
            2 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development