Skip to content
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

[release/7.0] Fix TransactionInterop.GetDtcTransaction() #74821

Merged
merged 1 commit into from
Aug 30, 2022

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Aug 30, 2022

Backport of #74776 to release/7.0

/cc @roji

Customer Impact

The TransactionInterop.GetDtcTransaction() method, which is part of the Windows-only distributed transaction support introduced for .NET 7.0, does not work.

Testing

Coverage added in the PR.

Risk

Very low. The change is part of a feature only introduced in .NET 7.0; the function in question threw PlatformNotSupportedException previously. The fix is a simple correction of the COM interop definition which the function implementation uses.

/cc @AaronRobinsonMSFT @ajcvickers

Incorrect COM interop definition

Fixes #74745
@carlossanlop
Copy link
Member

@ajcvickers need an approval please.

@ajcvickers ajcvickers added the Servicing-consider Issue for next servicing release review label Aug 30, 2022
@ajcvickers ajcvickers added this to the 7.0.0 milestone Aug 30, 2022
@ajcvickers ajcvickers removed the Servicing-consider Issue for next servicing release review label Aug 30, 2022
@ajcvickers
Copy link
Member

@danmoseley Need M2 approval for this.

@carlossanlop
Copy link
Member

@Pilchie we need an approval, please.

@danmoseley
Copy link
Member

Not sure whether this is me or @Pilchie , perhaps me because it's this repo. Approved -- new 7.0 scenario broken.

@ajcvickers
Copy link
Member

@danmoseley Thanks. Assumed it was you because it is in this repo.

@roji Ready to merge.

@carlossanlop
Copy link
Member

Approved and signed off.
CI failure is known and unrelated: #73688
Ready to merge. :shipit:

@carlossanlop carlossanlop merged commit 370a238 into release/7.0 Aug 30, 2022
@carlossanlop carlossanlop deleted the backport/pr-74776-to-release/7.0 branch August 30, 2022 20:14
@ghost ghost locked as resolved and limited conversation to collaborators Sep 30, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants