Skip to content

[5.x] Replaced a too strict assertion in DatabaseSessionHandler.php that prevented to use the sessions at all with a more simple sanity check. Test already failed on that, now they pass. #3366

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 4 commits into from
Apr 20, 2025

Conversation

tonivega
Copy link
Contributor

Replaced a too strict assertion in DatabaseSessionHandler.php that prevented to use the sessions at all with a more simple sanity check. Test already failed on that, now they pass.

Fixed the next error :
image

Now tests are passing :
image

Checklist

  • Add tests and ensure they pass -> There was a test covering this issue that failed, this pull request fixes it.

…hat prevented to use the sessions at all with a more simple sanity check. Test already failed on that, now they pass.
@tonivega tonivega requested a review from a team as a code owner April 20, 2025 00:45
@tonivega tonivega requested a review from GromNaN April 20, 2025 00:45
@GromNaN
Copy link
Member

GromNaN commented Apr 20, 2025

It’s my bad. I added the setting so the assertions are always evaluated.

@GromNaN GromNaN merged commit 0125031 into mongodb:5.x Apr 20, 2025
71 checks passed
GromNaN added a commit to GromNaN/laravel-mongodb-fork that referenced this pull request Apr 22, 2025
…ted to use the sessions at all with a more simple sanity check (mongodb#3366)

Set zend.assertions=1

---------

Co-authored-by: Toni Vega <toni@flexvega.com>
Co-authored-by: Jérôme Tamarelle <jerome.tamarelle@mongodb.com>
GromNaN added a commit that referenced this pull request Apr 22, 2025
…ted to use the sessions at all with a more simple sanity check (#3366) (#3368)

Set zend.assertions=1

---------

Co-authored-by: Toni Vega <1808267+tonivega@users.noreply.github.com>
This was referenced Apr 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants