Skip to content

CCFRI-8190 - use contactId from frontend when submitting ECE report - #1120

Merged
vietle-cgi merged 1 commit into
mainfrom
ccfri-8190-submit-ece-report-issue
Aug 10, 2026
Merged

CCFRI-8190 - use contactId from frontend when submitting ECE report#1120
vietle-cgi merged 1 commit into
mainfrom
ccfri-8190-submit-ece-report-issue

Conversation

@vietle-cgi

Copy link
Copy Markdown
Contributor

Fixes an issue where some users receive a 404 error when submitting an ECE report.

Root Cause
The ECE report submission was using the user GUID from getUserGuid(req) to identify the Contact in D365. For some user accounts, this GUID does not match the User ID in CMS database, causing the Contact lookup to fail with a 404 error.

Changes
Pass the Contact ID from the frontend when submitting an ECE report.

@sonarqubecloud

Copy link
Copy Markdown

@vietle-cgi
vietle-cgi merged commit ca82fb2 into main Aug 10, 2026
8 checks passed
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.

2 participants