Skip to content

Conversation

@aurelio-aot
Copy link
Contributor

@aurelio-aot aurelio-aot commented Jan 19, 2026

Fix for the below error during Chefs Submission Intake process:

PostgresException: 23503: insert or update on table "ApplicantAgents" violates foreign key constraint "FK_ApplicantAgents_Persons_OidcSubUser"

@github-actions
Copy link

🧪 Unit Test Results (Parallel Execution)

Tests

📊 Summary

Result Count
✅ Passed 289
❌ Failed 0
⚠️ Skipped 0

📄 HTML Reports

  • Merged Tests (HTML): Included in artifacts
    Generated automatically by CI.

newApplicantAgent.IdentityEmail = intakeMap.ApplicantAgent?.email ?? "";

newApplicantAgent.OidcSubUser = intakeMap.ApplicantAgent?.oidc_sub_user ?? string.Empty;
newApplicantAgent.OidcSubUser = intakeMap.ApplicantAgent?.oidc_sub_user;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need to double check this - the FK_applicantAgents to Persons on the OidcSub should be dropped?
Why link the ApplicantAgent to the Person at all - looks like it has been this since inception?

@github-actions
Copy link

🧪 Unit Test Results (Parallel Execution)

Tests

📊 Summary

Result Count
✅ Passed 289
❌ Failed 0
⚠️ Skipped 0

📄 HTML Reports

  • Merged Tests (HTML): Included in artifacts
    Generated automatically by CI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants