Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#16 MockHttpSession#invalidate() does not conform to spec

closed
Alwin Ibba
None
5
2005-09-30
2005-08-10
Lars Beuster
No

During the invalidation it must not be possible for
session binding listeners to access the session
attributes. They should get an InvalidStateException.

Currently they can access the attributes because the
isValid-flag is set to false at the end of invalidate().

Thanks
Lars

Discussion

  • Lars Beuster
    Lars Beuster
    2005-08-10

    Logged In: YES
    user_id=888483

    2.) is must not be possible to call invalidate() twice. The
    second invalidate-call should throw an IllegalStateException

     
  • Alwin Ibba
    Alwin Ibba
    2005-08-10

    • assigned_to: nobody --> aibba
     
  • Alwin Ibba
    Alwin Ibba
    2005-08-10

    Logged In: YES
    user_id=804648

    Thanks. I'll fix both.

     
  • Alwin Ibba
    Alwin Ibba
    2005-09-30

    • status: open --> closed