Files
OSIT-AE-API-FastAPI/app/lib_api_crud_v3.py
Scott Idem 2d611a2872 fix(crud): resolve poc_person_id and poc_event_person_id FKs correctly
The generic FK resolver derives the lookup table name from the field name,
so poc_person_id → 'poc_person' (no such table) — the random string was
passed straight to an INT column, producing a MariaDB 1366 error.

Adds table name overrides matching the existing address_location → address
pattern. Blocking LCI session POC assignment via V3 PATCH.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-12 15:46:53 -04:00

11 KiB