KamoCRM

Resolve Members tab showing empty due to Hibernate TYPE() base-class issue

FixSecurityService
Shipped
April 20, 2026 at 7:25 AM UTC
Author
Kamo
Commit
95f49e9

Hibernate's TYPE(m) = :type JPQL filter returns 0 results when the bound parameter is the base Member class (JOINED inheritance). This affects the members-subscribers endpoint. Replaced with findByOrganizationId() + instanceof TeamMember filter in Java, which correctly returns base Members. Also reverts temporary SQL debug logging.

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