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

Transaction.Current may not be set after opening the session #1176

Merged
merged 1 commit into from
Apr 6, 2023

Conversation

tmasternak
Copy link
Member

@tmasternak tmasternak commented Apr 6, 2023

Fixes #1174

Who's affected

You are affected if:

Symptoms

After opening the transactional session with transactionalSession.Open() the Transaction.Current is not set.

…setup

Co-authored-by: Szymon Pobiega <szymon.pobiega@gmail.com>
Co-authored-by: Daniel Marbach <daniel.marbach@particular.net>
@danielmarbach danielmarbach merged commit 41b1bba into master Apr 6, 2023
@danielmarbach danielmarbach deleted the tx-scope-tx-session-fxi branch April 6, 2023 07:45
danielmarbach pushed a commit that referenced this pull request Apr 6, 2023
… setup (#1176)

Co-authored-by: Szymon Pobiega <szymon.pobiega@gmail.com>
Co-authored-by: Daniel Marbach <daniel.marbach@particular.net>
# Conflicts:
#	src/NServiceBus.Persistence.Sql.TransactionalSession/NServiceBus.Persistence.Sql.TransactionalSession.csproj
#	src/TransactionalSession.MsSqlMicrosoftDataClient.AcceptanceTests/TransactionalSession.MsSqlMicrosoftDataClient.AcceptanceTests.csproj
#	src/TransactionalSession.MsSqlSystemDataClient.AcceptenceTests/TransactionalSession.MsSqlSystemDataClient.AcceptenceTests.csproj
#	src/TransactionalSession.MsSqlSystemDataClient.AcceptenceTests/When_using_transactional_session_with_transactionscope.cs
danielmarbach pushed a commit that referenced this pull request Apr 6, 2023
… setup (#1176)

Co-authored-by: Szymon Pobiega <szymon.pobiega@gmail.com>
Co-authored-by: Daniel Marbach <daniel.marbach@particular.net>
# Conflicts:
#	src/NServiceBus.Persistence.Sql.TransactionalSession/NServiceBus.Persistence.Sql.TransactionalSession.csproj
#	src/TransactionalSession.MsSqlMicrosoftDataClient.AcceptanceTests/TransactionalSession.MsSqlMicrosoftDataClient.AcceptanceTests.csproj
#	src/TransactionalSession.MsSqlSystemDataClient.AcceptenceTests/TransactionalSession.MsSqlSystemDataClient.AcceptenceTests.csproj
#	src/TransactionalSession.MsSqlSystemDataClient.AcceptenceTests/When_using_transactional_session_with_transactionscope.cs
danielmarbach pushed a commit that referenced this pull request Apr 6, 2023
… setup (#1176)

Co-authored-by: Szymon Pobiega <szymon.pobiega@gmail.com>
Co-authored-by: Daniel Marbach <daniel.marbach@particular.net>
# Conflicts:
#	src/NServiceBus.Persistence.Sql.TransactionalSession/NServiceBus.Persistence.Sql.TransactionalSession.csproj
#	src/TransactionalSession.MsSqlMicrosoftDataClient.AcceptanceTests/TransactionalSession.MsSqlMicrosoftDataClient.AcceptanceTests.csproj
#	src/TransactionalSession.MsSqlSystemDataClient.AcceptenceTests/TransactionalSession.MsSqlSystemDataClient.AcceptenceTests.csproj
#	src/TransactionalSession.MsSqlSystemDataClient.AcceptenceTests/When_using_transactional_session_with_transactionscope.cs
tmasternak added a commit that referenced this pull request Apr 6, 2023
… setup (#1176) (#1178)

Co-authored-by: Szymon Pobiega <szymon.pobiega@gmail.com>
Co-authored-by: Daniel Marbach <daniel.marbach@particular.net>
# Conflicts:
#	src/NServiceBus.Persistence.Sql.TransactionalSession/NServiceBus.Persistence.Sql.TransactionalSession.csproj
#	src/TransactionalSession.MsSqlMicrosoftDataClient.AcceptanceTests/TransactionalSession.MsSqlMicrosoftDataClient.AcceptanceTests.csproj
#	src/TransactionalSession.MsSqlSystemDataClient.AcceptenceTests/TransactionalSession.MsSqlSystemDataClient.AcceptenceTests.csproj
#	src/TransactionalSession.MsSqlSystemDataClient.AcceptenceTests/When_using_transactional_session_with_transactionscope.cs

Co-authored-by: Tomasz Masternak <tomasz.masternak@particular.net>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TransactionalSession does not work with outbox using TransactionScope
2 participants