Alpha state. A platform designed for building enterprise-grade, multi-tenant products using Azure, .NET, React, TypeScript, Infrastructure as Code, etc.
This fix resolves a bug where the TenantId in HttpExecutionContext would always be null if UserInfo was the first property accessed. The issue stemmed from internal logic in HttpExecutionContext, which only set the TenantId when UserInfo was accessed first. The fix ensures that both UserInfo and TenantId are correctly set, regardless of which property is accessed first on HttpExecutionContext.
Atomic Changes
Fix tenantId is null bug when UserInfo has not been accessed
Checklist
[x] I have added a Label to the pull-request
[x] I have added tests, and done manual regression tests
[x] I have updated the documentation, if necessary
Summary & Motivation
This fix resolves a bug where the
TenantId
inHttpExecutionContext
would always be null ifUserInfo
was the first property accessed. The issue stemmed from internal logic inHttpExecutionContext
, which only set theTenantId
whenUserInfo
was accessed first. The fix ensures that bothUserInfo
andTenantId
are correctly set, regardless of which property is accessed first onHttpExecutionContext
.Atomic Changes
Checklist