KamoCRM

Scope empty binders to (MY_DOCS, '') not the owner's member id

FixInitializerService
Shipped
6 ஆகஸ்ட், 2026 அன்று 5:57 AM UTC
Author
Kamo
Commit
f9a261b

The My Docs DocManager never passes an assocObjectId prop, so it always resolves and queries (3, ''). BACKFILL_EMPTY_SQL was scoping empty binders to (3, memberId) instead, making them permanently unreachable in the UI. Adds a narrow repair statement that converges any binder already mis-scoped to (3, memberId) — including ones backfilled from a MY_DOCS DOC item, since those imgs also carry assoc_object_id = memberId — down to (3, ''), without touching legitimately object-scoped MY_DOCS binders (e.g. a pipeline record's assocObjectId, which is never equal to the binder's own owner_member_id).

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