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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Reopened
    • Major
    • Resolution: Unresolved
    • Trunk, Upcoming Branch
    • None
    • order
    • 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

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

            Dates

              Created:
              Updated: