-
Notifications
You must be signed in to change notification settings - Fork 317
[6.0] Fixing NullReferenceException issue with SqlDataAdapter #3850
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
base: release/6.0
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.
...crosoft.Data.SqlClient/tests/ManualTests/Microsoft.Data.SqlClient.ManualTesting.Tests.csproj
Outdated
Show resolved
Hide resolved
...crosoft.Data.SqlClient/tests/ManualTests/Microsoft.Data.SqlClient.ManualTesting.Tests.csproj
Outdated
Show resolved
Hide resolved
Removed SqlDataAdapterBatchUpdateTests from the project file.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
Copilot reviewed 4 out of 4 changed files in this pull request and generated 4 comments.
Comments suppressed due to low confidence (2)
src/Microsoft.Data.SqlClient/tests/ManualTests/Microsoft.Data.SqlClient.ManualTesting.Tests.csproj:278
- The test file SqlDataAdapterBatchUpdateTests.cs is included twice in the project file. The first inclusion at line 16 is within a conditional ItemGroup for Always Encrypted tests, while the second inclusion at line 278 is in an unconditional ItemGroup. This duplication will cause build warnings or errors. Remove one of these duplicate entries - preferably keep only the conditional one at line 16 since this is an Always Encrypted test.
<Compile Include="DataCommon\AADUtility.cs" />
src/Microsoft.Data.SqlClient/tests/ManualTests/Microsoft.Data.SqlClient.ManualTesting.Tests.csproj:392
- This empty Folder ItemGroup appears to be unnecessary. The folder path 'microsoft.data.sqlclient\tests\manualtests\alwaysencrypted' seems incorrectly cased and doesn't provide any functional value. Modern SDK-style projects automatically include folders based on their file contents. Consider removing this ItemGroup.
...Microsoft.Data.SqlClient/tests/ManualTests/AlwaysEncrypted/SqlDataAdapterBatchUpdateTests.cs
Show resolved
Hide resolved
...Microsoft.Data.SqlClient/tests/ManualTests/AlwaysEncrypted/SqlDataAdapterBatchUpdateTests.cs
Show resolved
Hide resolved
...Microsoft.Data.SqlClient/tests/ManualTests/AlwaysEncrypted/SqlDataAdapterBatchUpdateTests.cs
Show resolved
Hide resolved
...Microsoft.Data.SqlClient/tests/ManualTests/AlwaysEncrypted/SqlDataAdapterBatchUpdateTests.cs
Show resolved
Hide resolved
apoorvdeshmukh
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Test needs to be fixed in main first and then changes need to be ported here.
Ports #3749 to release/6.1 branch
Closes #3848