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

Skip to content

Add LegacyPdoSessionHandler class #12994

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

Closed
wants to merge 2 commits into from

Conversation

jeremylivingston
Copy link
Contributor

Q A
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? yes
Tests pass? yes
Fixed tickets #12833
License MIT
Doc PR N/A

The changes made to the PdoSessionHandler in 2.6 introduced a
backwards-compatability break for users upgrading from 2.5. This update
introduces a LegacyPdoSessionHandler class that uses the old service's
functionality.

Users who cannot make schema updates or do not want to lose sessions can
use LegacyPdoSessionHandler until 3.0.

The changes made to the PdoSessionHandler in 2.6 introduced a
backwards-compatability break for users upgrading from 2.5. This update
introduces a LegacyPdoSessionHandler class that uses the old service's
functionality.

Users who cannot make schema updates or do not want to lose sessions can
use LegacyPdoSessionHandler until 3.0.
@kbond
Copy link
Member

kbond commented Dec 18, 2014

+1 for this

@@ -125,6 +125,8 @@ HttpFoundation
There is also an [issue](https://github.com/symfony/symfony/issues/12834)
that affects Windows servers.

A legacy class, `LegacyPdoSessionHandler` has been created to ease backwards-compatability issues when upgrading.
Copy link
Member

Choose a reason for hiding this comment

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

typo here compatibility

@jeremylivingston
Copy link
Contributor Author

@stof, I fixed three occurrences of this typo in the upgrade file. Thanks!

There were a few incorrect spellings of "compatibility" in the 2.6
upgrade file. Update all occurrences of the typo to be the correct
spelling.
@fabpot
Copy link
Member

fabpot commented Dec 21, 2014

@jeremylivingston Can you create a PR for 2.7 where this new class is deprecated (and will be removed in 3.0)? Thanks.

@fabpot
Copy link
Member

fabpot commented Dec 21, 2014

Thank you @jeremylivingston.

@fabpot fabpot closed this Dec 21, 2014
fabpot added a commit that referenced this pull request Dec 21, 2014
This PR was squashed before being merged into the 3.0-dev branch (closes #12994).

Discussion
----------

Add LegacyPdoSessionHandler class

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | yes
| Tests pass?   | yes
| Fixed tickets | #12833
| License       | MIT
| Doc PR        | N/A

The changes made to the PdoSessionHandler in 2.6 introduced a
backwards-compatability break for users upgrading from 2.5. This update
introduces a LegacyPdoSessionHandler class that uses the old service's
functionality.

Users who cannot make schema updates or do not want to lose sessions can
use LegacyPdoSessionHandler until 3.0.

Commits
-------

20cb713 Add LegacyPdoSessionHandler class
fabpot added a commit that referenced this pull request Dec 21, 2014
This PR was squashed before being merged into the 3.0-dev branch (closes #12994).

Discussion
----------

Add LegacyPdoSessionHandler class

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | yes
| Tests pass?   | yes
| Fixed tickets | #12833
| License       | MIT
| Doc PR        | N/A

The changes made to the PdoSessionHandler in 2.6 introduced a
backwards-compatability break for users upgrading from 2.5. This update
introduces a LegacyPdoSessionHandler class that uses the old service's
functionality.

Users who cannot make schema updates or do not want to lose sessions can
use LegacyPdoSessionHandler until 3.0.

Commits
-------

22b183c Add LegacyPdoSessionHandler class
@jeremylivingston
Copy link
Contributor Author

@fabpot, all set in #13068. Thanks!

fabpot added a commit that referenced this pull request Dec 23, 2014
This PR was submitted for the 2.7 branch but it was merged into the 2.6 branch instead (closes #13068).

Discussion
----------

Add LegacyPdoSessionHandler class

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | yes
| Tests pass?   | yes
| Fixed tickets | #12833
| License       | MIT
| Doc PR        | N/A

Fix for #12994 on the 2.7 branch.

The changes made to the PdoSessionHandler in 2.6 introduced a
backwards-compatability break for users upgrading from 2.5. This update
introduces a LegacyPdoSessionHandler class that uses the old service's
functionality.

Users who cannot make schema updates or do not want to lose sessions can
use LegacyPdoSessionHandler until 3.0.

Commits
-------

3bd1616 Add LegacyPdoSessionHandler class
@fabpot fabpot mentioned this pull request Nov 16, 2015
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.

4 participants