Skip to content

[AI-FSSDK] [FSSDK-12670] Block ODP identify event for single identifier#636

Open
jaeopt wants to merge 4 commits into
masterfrom
ai/jaeopt/FSSDK-12670-odp-event
Open

[AI-FSSDK] [FSSDK-12670] Block ODP identify event for single identifier#636
jaeopt wants to merge 4 commits into
masterfrom
ai/jaeopt/FSSDK-12670-odp-event

Conversation

@jaeopt
Copy link
Copy Markdown
Contributor

@jaeopt jaeopt commented May 26, 2026

Summary

Fixes ODP identify event to only send when multiple valid identifiers exist. Previously, the SDK could send an identify event with just a single VUID when userId was nil, which provides no identity-linking value.

Changes

  • Added identifier count guard in OdpEventManager.identifyUser to skip event dispatch when fewer than 2 valid identifiers are present
  • Added empty string check for both vuid and userId before adding to identifiers map
  • Added debug-level logging when the identify event is skipped due to single identifier
  • Updated test for nil userId case to expect no event queued (single identifier is now skipped)

Jira Ticket

FSSDK-12670

Notes

@coveralls
Copy link
Copy Markdown

Coverage Status

Coverage is 93.828%ai/jaeopt/FSSDK-12670-odp-event into master. No base build found for master.

jaeopt and others added 2 commits May 27, 2026 10:00
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