Repair the second name-persisted site of the LOS rename

FixInitializerService
Shipped
August 8, 2026 at 10:32 PM UTC
Author
Kamo
Commit
7791a24

**************** is @Enumerated(STRING) and holds RoleRightType names, so a default role granting mortgage stores "LOS_VIEW_PIPELINE". That is the third place the rename reached into — after ORG_FEATURES (id, safe) and the app-config table (already repaired). Left alone those 48 rows no longer resolve to any constant at all now that the personal-loan rights are PLOS_*, so Hibernate throws when it reads them. No CREATED_AT to bound against here, and none is needed: nothing can write an LOS_* name again, so any row holding one is unambiguously a pre-rename mortgage grant and the repair is permanently idempotent. That is the dividend from not re-using the freed name — the app-config repair needed a timestamp cutover precisely because LOS was still a live ServiceType name. Every stale row already has an MLOS_ twin on the same default role carrying an identical setting (verified in prod: 0 of 48 differ), so the collision branch drops them without losing a grant.

All changes

Like what you see shipping?

Every one of these updates lands in your workspace automatically. Start free and watch it grow week after week.

Start Free ForeverView Pricing