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

Session already invalidate (removeAttribute: Session already invalidated) on destroyCart for anonymous userLogin

    Details

    • Type: Bug
    • Status: Reopened
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: Trunk
    • Fix Version/s: None
    • Component/s: order
    • Labels:
      None

      Description

      ShoppingCartEvents.destroyCart event throws error Session already invalidated (removeAttribute: Session already invalidated) if anonymous userLogin set into the session and this session going to be destroyed.

      The reason is clearCart method invalidated the session and after that destroyCart method calls removeAttribute method on same session object.

        Attachments

        1. DestroyCart.patch
          1 kB
          Ankush Upadhyay

          Activity

            People

            • Assignee:
              deepak.dixit Deepak Dixit
              Reporter:
              ankush.upadhyay Ankush Upadhyay
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: