Skip to content

Conversation

michalsn
Copy link
Member

Description
This PR fixes the session service logic by adding a check for unsupported database platforms. If a developer attempts to use DatabaseHandler with an unsupported driver (e.g., SQLSRV, OCI8, SQLite3), an InvalidArgumentException will now be thrown with a clear error message.

Problem spotted here: #9572

Checklist:

  • Securely signed commits
  • Component(s) with PHPDoc blocks, only if necessary or adds value
  • Unit testing, with >80% coverage
  • User guide updated
  • Conforms to style guide

@michalsn michalsn merged commit 045e12b into codeigniter4:develop May 26, 2025
50 checks passed
@michalsn
Copy link
Member Author

Thank you @paulbalandan

@michalsn michalsn deleted the fix/db-session branch May 27, 2025 16:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants