Skip to content

fix: add check to remove null and undefined properties before sending - #2796

Merged
yashasvibajpai merged 2 commits into
developfrom
fex.adobe.analytics.undefined.ids
Nov 6, 2023
Merged

yashasvibajpai merged 2 commits into
developfrom
fex.adobe.analytics.undefined.ids

Conversation

@yashasvibajpai

Copy link
Copy Markdown
Contributor

Description of the change

Resolves INT-980
Disallow null and undefined values from being passed to Adobe's XML payload

Type of change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Related issues

Fix #1

Checklists

Development

  • Lint rules pass locally
  • The code changed/added as part of this pull request has been covered with tests
  • All tests related to the changed code pass in development

Code review

  • This pull request has a descriptive title and information useful to a reviewer. There may be a screenshot or screencast attached
  • "Ready for review" label attached to the PR and reviewers mentioned in a comment
  • Changes have been reviewed by at least one other engineer
  • Issue from task tracker has a link to this pull request

@yashasvibajpai yashasvibajpai self-assigned this Nov 6, 2023
@yashasvibajpai
yashasvibajpai requested a review from a team as a code owner November 6, 2023 06:35
@yashasvibajpai
yashasvibajpai requested a review from a team as a code owner November 6, 2023 06:42
@codecov

codecov Bot commented Nov 6, 2023

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (570532c) 80.37% compared to head (c3632c5) 87.17%.
Report is 2 commits behind head on develop.

❗ Current head c3632c5 differs from pull request most recent head be2a51b. Consider uploading reports for the commit be2a51b to get more accurate results

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #2796      +/-   ##
===========================================
+ Coverage    80.37%   87.17%   +6.79%     
===========================================
  Files          302      769     +467     
  Lines        17026    28487   +11461     
  Branches      4195     6653    +2458     
===========================================
+ Hits         13685    24833   +11148     
- Misses        2886     3317     +431     
+ Partials       455      337     -118     
Files Coverage Δ
src/v0/destinations/adobe_analytics/transform.js 96.59% <100.00%> (ø)

... and 513 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@sonarqubecloud

sonarqubecloud Bot commented Nov 6, 2023

Copy link
Copy Markdown

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication

@yashasvibajpai
yashasvibajpai merged commit 6e89cd3 into develop Nov 6, 2023
@yashasvibajpai
yashasvibajpai deleted the fex.adobe.analytics.undefined.ids branch December 13, 2023 14:47
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