KamoCRM

TeamMember is-a Member; drop bogus tm.getMember() calls

FixInitializerService
Shipped
23 ஏப்ரல், 2026 அன்று 8:53 PM UTC
Author
Kamo
Commit
2c5f5ad

TeamMember uses JOINED inheritance — it IS a Member, no nested member field. The backfill was calling tm.getMember() which doesn't exist. Also switches the JPQL status filter onto tm.teamMembershipStatus (the actual field on TeamMember) instead of the non-existent tm.status. Commit is local-only per project policy (KamoInitializerService is not pushed from this environment).

All changes

Like what you see shipping?

All of it arrives in your workspace on its own. Start on the free plan and read this page again in a month.

Start Free ForeverView Pricing