Skip to content

[FSSDK-9074] fix: odp event validation #334

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 11, 2023

Conversation

andrewleap-optimizely
Copy link
Contributor

@andrewleap-optimizely andrewleap-optimizely commented Apr 10, 2023

Summary

Add validation to send_odp_events:

  • log error when action == None or ""
  • use default when type == None or ""
  • fix case and/or "-" for fs_user_id identifier key

Test plan

added tests to:
odp_event_manager_spec.rb
project_spec.rb

Ticket

FSSDK-9074

@andrewleap-optimizely andrewleap-optimizely marked this pull request as ready for review April 10, 2023 20:46
@andrewleap-optimizely andrewleap-optimizely requested a review from a team as a code owner April 10, 2023 20:46
@andrewleap-optimizely andrewleap-optimizely changed the title fix: odp event validation [FSSDK-9074] fix: odp event validation Apr 10, 2023
Copy link
Contributor

@Mat001 Mat001 left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@jaeopt jaeopt left a comment

Choose a reason for hiding this comment

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

LGTM

@andrewleap-optimizely andrewleap-optimizely merged commit b8cee28 into master Apr 11, 2023
@andrewleap-optimizely andrewleap-optimizely deleted the aleap/fix_odp_event_validation branch April 11, 2023 17:48
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