Skip to content

MockSessionCookieConfig#maxAge defaults to 0 instead of -1 [SPR-15142] #19708

Closed

Description

@spring-projects-issues

Vedran Pavic opened SPR-15142 and commented

MockSessionCookieConfig#maxAge defaults to 0 which causes cookies to be deleted instead of written during tests. Rather than 0, default value for maxAge should be -1 as one would expect from a typical container.


Affects: 4.3.5

Issue Links:

Referenced from: commits 83beb9d, d1c0ea7

Activity

  1. spring-projects-issues commented on Jan 15, 2017

    @spring-projects-issues
    CollaboratorAuthor

    Vedran Pavic commented

    Created a PR: #1298

  2. spring-projects-issues commented on Jan 16, 2017

    @spring-projects-issues
    CollaboratorAuthor

    Sam Brannen commented

    Good catch.

    Thanks for bringing this to our attention.

  3. added
    in: test
    type: enhancement
    on Jan 11, 2019
  4. added this to the 4.3.6 milestone on Jan 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

in: testtype: enhancement

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions