Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[HttpFoundation] fix session tracking counter #27714

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 28, 2018

Conversation

dmaicher
Copy link
Contributor

@dmaicher dmaicher commented Jun 25, 2018

Q A
Branch? 3.4
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? no
Fixed tickets -
License MIT
Doc PR -

As just discussed with @nicolas-grekas I found this issue today while upgrading my app to 3.4.12. Somehow its not possible anymore to set caching headers correctly since this commit: 146e01c#diff-5350dc763df30ada9d00563c115f6652

@nicolas-grekas nicolas-grekas force-pushed the cache-control-headers-issue branch from 4419573 to 2b0beac Compare June 27, 2018 11:38
@nicolas-grekas nicolas-grekas force-pushed the cache-control-headers-issue branch from 2b0beac to 89ed756 Compare June 27, 2018 11:47
@nicolas-grekas
Copy link
Member

Thanks @dmaicher, I pushed the fix here also.

PR ready. The session tracker was too eager.

Copy link
Member

@dunglas dunglas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can confirm it fixes the API Platform test suite.

@teohhanhui
Copy link
Contributor

Unfortunately the tests added in this PR are still failing...

@nicolas-grekas
Copy link
Member

Don't be sad, that happens all the time.
Yet in this specific case, the failure is a false-positive that will be fixed by a merge up to master.

@nicolas-grekas
Copy link
Member

Thank you @dmaicher.

@nicolas-grekas nicolas-grekas merged commit 89ed756 into symfony:3.4 Jun 28, 2018
nicolas-grekas added a commit that referenced this pull request Jun 28, 2018
…kas, dmaicher)

This PR was merged into the 3.4 branch.

Discussion
----------

[HttpFoundation] fix session tracking counter

| Q             | A
| ------------- | ---
| Branch?       | 3.4
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | no
| Fixed tickets | -
| License       | MIT
| Doc PR        | -

As just discussed with @nicolas-grekas I found this issue today while upgrading my app to 3.4.12. Somehow its not possible anymore to set caching headers correctly since this commit: 146e01c#diff-5350dc763df30ada9d00563c115f6652

Commits
-------

89ed756 failing test to reproduce session problem
26fc4e6 [HttpFoundation] fix session tracking counter
@fabpot fabpot mentioned this pull request Jul 23, 2018
This was referenced Jul 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants