KamoCRM

A team member is equal to another only when their ids are (SP10)

Fixkamo-shared-library
Shipped
September 28, 2026 at 11:52 AM UTC
Author
Kamo
Commit
faecadc

SP10 T47, live: MediaService answered "one or more memberIds not found" to a group chat of the owner and two AI members. Lombok's @EqualsAndHashCode(callSuper = false) compared only TeamMember's own columns, and two AI members have identical ones (ACTIVE, no work email, no department, no manager). The LinkedHashSet<Member> built from findAllById, and again in **************** kept one of the two. Value equality also recursed through a manager cycle (StackOverflowError). A team member is one row: equals compares ids, and an unsaved member equals only itself.

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