Commit a770164
fix(identity): resolve tenant child-data seeding failures and branding panel enum mismatches
- Fix FindBranch/FindIdentityProvider in Tenant.cs to compare Props.Id instead of
entity.Id (random GUID from Entity base constructor); this made ActivateIdentityProvider
always return NotFound, leaving a lingering BrokenRule that silently aborted SetBranding
- Add DomainEvents.MarkChangesAsCommitted() to InMemoryUserManagementDelegationRepository.Seed()
- Replace monolithic DevDataSeeder with per-bounded-context seeders (Identity, Authorization,
Approvals, Configuration, IGA, Audit) orchestrated by CoreDevDataSeeder
- Fix BrandingPanel select values to match DomainEnumerationParser.FromName<> expectations:
backgroundStyle SolidColor/Gradient/Image, logoFormat Png/Svg
- Add brandBgImage i18n key (ES/EN) for Image background style option
- Update MSW mock handlers and add mock data fixtures for tenants, user accounts, delegations
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent c7de0d5 commit a770164
18 files changed
Lines changed: 1258 additions & 246 deletions
File tree
- src/apps
- ums.api
- Ums.Domain/Identity/Tenant
- Ums.Infrastructure/Persistence
- Seeders
- Ums.Presentation/Bootstrapping
- ums.web-app/src
- application/i18n/namespaces
- presentation/identity
- tenant/components
- user-account/components
- test/mocks
- data
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
457 | 457 | | |
458 | 458 | | |
459 | 459 | | |
460 | | - | |
| 460 | + | |
461 | 461 | | |
462 | 462 | | |
463 | 463 | | |
| |||
466 | 466 | | |
467 | 467 | | |
468 | 468 | | |
469 | | - | |
| 469 | + | |
470 | 470 | | |
471 | 471 | | |
472 | 472 | | |
| |||
Lines changed: 0 additions & 195 deletions
This file was deleted.
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
92 | 98 | | |
93 | 99 | | |
94 | 100 | | |
| |||
0 commit comments