Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[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
GromNaN merged 4 commits into mongodb:5.x from tonivega:5.x
Apr 20, 2025

Conversation

Copy link
Contributor

@tonivega tonivega commented Apr 20, 2025

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
Copy link
Member

GromNaN commented Apr 20, 2025

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

tonivega reacted with thumbs up emoji

@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
@GromNaN GromNaN added this to the 5.5 milestone Aug 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers

@GromNaN GromNaN GromNaN approved these changes

Assignees
No one assigned
Labels
Projects
None yet
Milestone
5.5
Development

Successfully merging this pull request may close these issues.

2 participants

AltStyle によって変換されたページ (->オリジナル) /