Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.
/ corefx Public archive

[release/3.1] Fix SqlParameter with xml schema construction #41178

Merged
merged 1 commit into from
Sep 20, 2019

Conversation

cheenamalhotra
Copy link
Member

Ports #41008 for release/3.1

Description

Fixes a bug in SqlParameter XmlSchemaCollection APIs where setters were not validating initialized xmlSchemaCollection properly. The issue got merged in due to no test coverage on impacted APIs.

Customer Impact

Below SqlParameter APIs are impacted:

  • set_XmlSchemaCollectionDatabase
  • set_XmlSchemaCollectionOwningSchema
  • set_XmlSchemaCollectionName

Regression

Yes. This PR fixes a regression reported in #41141 caused with PR #35549 in .NET Core SDK 3.0 Preview3.

Risk

Small. The change-set is small and the code changes introduced in earlier PR #35363 is being revised here.

Tests

Tests added to cover missing areas and will now be run as part of PR validations.

@danmoseley danmoseley modified the milestones: 3.0.x, 3.1 Sep 20, 2019
@danmoseley
Copy link
Member

Customer reported regression. Approved for 3.1. @Anipik is 3.1 branch open? If so this can merge

@Anipik
Copy link

Anipik commented Sep 20, 2019

Yes 3.1 branch is open for changes.

@Anipik Anipik merged commit a7ce132 into dotnet:release/3.1 Sep 20, 2019
@danmoseley danmoseley added the Servicing-approved Approved for servicing release label Sep 20, 2019
@cheenamalhotra cheenamalhotra deleted the release/3.1 branch September 25, 2019 16:20
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants