Closed jakeberesford-palmetto closed 1 year ago
Describe the bug Tracking events sent using this tracker are failing in enrichment with the following failure message
{ "expectation": "cannot be converted to java.lang.Integer", "field": "vid", "value": "NaN" }
I suspect this commit causes the issue: https://github.com/snowplow/snowplow-javascript-tracker/commit/b212eb7a15fc4fe0248dacfbc4e592277fe58b75#diff-e1e232ecf4c494ec3be5f942f973200db624f9569d1776b35781614dcf2a97a8R97
To Reproduce
setSessionIndex
setSessionId
vid
Expected behavior
vid is not set if sessionIndex is undefined
sessionIndex
Desktop (please complete the following information):
Additional context
We are using this package server-side in a node.js application.
Hey @jakeberesford-palmetto , thanks for spotting that, we released v3.12.1 which hopefully resolves this issue !
Thanks for the quick turnaround @igneel64 - much appreciated!
Describe the bug Tracking events sent using this tracker are failing in enrichment with the following failure message
I suspect this commit causes the issue: https://github.com/snowplow/snowplow-javascript-tracker/commit/b212eb7a15fc4fe0248dacfbc4e592277fe58b75#diff-e1e232ecf4c494ec3be5f942f973200db624f9569d1776b35781614dcf2a97a8R97
To Reproduce
setSessionIndex
orsetSessionId
vid
p is set to NaNExpected behavior
vid
is not set ifsessionIndex
is undefinedDesktop (please complete the following information):
Additional context
We are using this package server-side in a node.js application.