Stripes

Cookies not keyed on name in mocking framework

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: Release 1.4.3
  • Fix Version/s: Release 1.5.1, Release 1.6
  • Component/s: None
  • Labels:
    None
  • Environment:
    Stripes 1.4.3
    Apache Tomcat 6.0.14
    Windows XP

Description

Hi,

I have an action responsible for removing cookies from a users computer. i take the approach of checking the request for the a cookie and if it exists and if so replacing it with a new cookie with the same name an no value.

I am using the mocking API to test this action. i put a cookie with the value populated in the request and expect a cookie in the response with an empty value but in fact i get 2 cookies in the response one with the original value and one with an empty value.

I feel that there is something not right here???

Activity

Hide
Ben Gunter added a comment - 22/Oct/08 2:02 PM

Thanks, Dave. This is fixed for 1.5.1 and later.

Show
Ben Gunter added a comment - 22/Oct/08 2:02 PM Thanks, Dave. This is fixed for 1.5.1 and later.

People

Vote (0)
Watch (0)

Dates

  • Created:
    02/May/08 7:35 AM
    Updated:
    04/Jan/11 2:50 PM
    Resolved:
    22/Oct/08 2:02 PM