-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Dbtype sysname missing for SQLServerPlatform (when using change data capture) #6259
Labels
Comments
|
Please send a PR. |
I didn't find a PR and the problem still happen in doctrine/3.8.6. It's the PR's fault that it hasn't been fixed yet? |
Kinda. Bugs don't fix themselves, you know. Somebody has to do it. |
patrick1100
added a commit
to patrick1100/dbal
that referenced
this issue
Jul 3, 2024
derrabus
pushed a commit
that referenced
this issue
Aug 14, 2024
| Q | A |------------- | ----------- | Type | bug | Fixed issues | #6259 #### Summary We've got error because of missing DBTypes on SQLSRV. "Unknown database type sysname requested, Doctrine\DBAL\Platforms\SQLServer2012Platform may not support it.". Once for 'sysname' and for 'xml'.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug Report
We have enabled cdc (change data capture) on our SQLserver database. And now we get the error
Unknown database type sysname requested, Doctrine\DBAL\Platforms\SQLServer2012Platform may not support it.
doctrine/dbal 3.7.2
Summary
Dump of field:
When I add "'sysname' => Types::STRING," to the file vendor/doctrine/dbal/src/Platforms/SQLServerPlatform.php the problem is fixed.
How to reproduce
Error happens after enabling cdc in the database.
Expected behaviour
No errors when saving records.
The text was updated successfully, but these errors were encountered: