Skip to content
This repository has been archived by the owner on Jul 5, 2020. It is now read-only.

SQL Collection fix #1292

Merged
merged 4 commits into from
Oct 15, 2019
Merged

SQL Collection fix #1292

merged 4 commits into from
Oct 15, 2019

Conversation

cijothomas
Copy link
Contributor

Fixes #1291
SQL Listener had references to System.Data types in Microsoft.Data path.

The class is modified to NOT import the system.data namespace now to ensure we rely purely on reflection. This should have been done in the original fix which would have caught this issue there itself.

Fix Issue # .

  • I ran Unit Tests locally.

For significant contributions please make sure you have completed the following items:

  • Changes in public surface reviewed

  • Design discussion issue #

  • CHANGELOG.md updated with one line description of the fix, and a link to the original issue.

  • The PR will trigger build, unit tests, and functional tests automatically. If your PR was submitted from fork - mention one of committers to initiate the build for you.
    If you want to to re-run the build/tests, the easiest way is to simply Close and Re-Open this same PR. (Just click 'close pull request' followed by 'open pull request' buttons at the bottom of the PR)

  • Please follow [these] (/~https://github.com/Microsoft/ApplicationInsights-dotnet-server/blob/develop/CONTRIBUTING.md) instructions to build and test locally.

…ft.Data path.

The class is modified to NOT import the system.data namespace now to ensure we rely purely on reflection. This should have been done in the original fix which would have caught this issue there itself.
CHANGELOG.md Outdated Show resolved Hide resolved
@@ -2,8 +2,6 @@ namespace Microsoft.ApplicationInsights.DependencyCollector.Implementation.SqlCl
{
using System;
using System.Collections.Generic;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

removing this import should have caught the issue earlier. Now we can confirm that we rely purely on reflection via PropertyFetchers.

@cijothomas cijothomas merged commit 2825af8 into master Oct 15, 2019
@cijothomas cijothomas deleted the cithomas/211hotfix2 branch October 15, 2019 01:32
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants