* Assign Tenant.AgnosticTenantId in populator * Corrected comment * Fix entities persisted with NULL TenantId instead of default tenant Use normalized TenantId property (which returns empty string for default tenant) instead of Tenant?.Id (which returns null when no tenant is set). When Tenant?.Id returned null: TenantAwareDbContextFactory set dbContext.TenantId to null, ApplyTenantId skipped assigning TenantId, entities were saved with NULL TenantId, and query filters using SQL equality against NULL never matched these entities. This affected all EF Core stores including BookmarkStore and any store using bulk upsert operations. Co-authored-by: Cursor <cursoragent@cursor.com> * Update src/modules/Elsa.Workflows.Runtime/Services/DefaultWorkflowDefinitionStorePopulator.cs Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com> * PR comments * Set Tenant.AgnosticTenantId when no tenantId is specified --------- Co-authored-by: Ralf <Ralf@Careconnections.nl> Co-authored-by: Cursor <cursoragent@cursor.com> Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| ActivationValidators | ||
| Activities | ||
| Bookmarks | ||
| Commands | ||
| Comparers | ||
| Constants | ||
| Contexts | ||
| Contracts | ||
| Entities | ||
| Exceptions | ||
| Extensions | ||
| Features | ||
| Filters | ||
| Handlers | ||
| LogPersistence | ||
| Matches | ||
| Messages | ||
| Middleware | ||
| Models | ||
| Notifications | ||
| Options | ||
| OrderDefinitions | ||
| Parameters | ||
| Params | ||
| Providers | ||
| Requests | ||
| Responses | ||
| Results | ||
| Services | ||
| Stimuli | ||
| Stores | ||
| Tasks | ||
| UIHints | ||
| Elsa.Workflows.Runtime.csproj | ||
| Elsa.Workflows.Runtime.csproj.DotSettings | ||
| FodyWeavers.xml | ||
| IsExternalInit.cs | ||
| RuntimeStimulusNames.cs | ||