Closed kamtungc closed 2 years ago
In v6.0.0, createApiEvent() in utils.js is below static createApiEvent(event) { if (Array.isArray(event)) { event.forEach(currentEvent => { if (currentEvent) { if (this.debug) { FW.log(currentEvent); } FW.createStdEvent(currentEvent, this.container); } }); } else if (event) { if (this.debug) { FW.log(event); } FW.createStdEvent(event, this.container); } }
In v7.1.0, createApiEvent() in utils.js is below static createApiEvent(event) { if (Array.isArray(event)) { event.forEach(currentEvent => { if (currentEvent) { console.dir(currentEvent); FW.createStdEvent(currentEvent, this.container); } }); } else if (event) { console.dir(event); FW.createStdEvent(event, this.container); } }
In v7.1.0, I got an error "Could not complete the operation due to error 80020101." for an event, such as adfirstquartile.
After I removed both console.dir(currentEvent); and console.dir(event);, I didn't have an error.
console.dir(currentEvent);
console.dir(event);
I cannot reproduce this issue on our side. Can you provide a code sample that reproduces this issue? What browser and what os are your testing on?
I am using UWP WebView.
This should be fixed in 7.2.0
In v6.0.0, createApiEvent() in utils.js is below static createApiEvent(event) { if (Array.isArray(event)) { event.forEach(currentEvent => { if (currentEvent) { if (this.debug) { FW.log(currentEvent); } FW.createStdEvent(currentEvent, this.container); } }); } else if (event) { if (this.debug) { FW.log(event); } FW.createStdEvent(event, this.container); } }
In v7.1.0, createApiEvent() in utils.js is below static createApiEvent(event) { if (Array.isArray(event)) { event.forEach(currentEvent => { if (currentEvent) { console.dir(currentEvent); FW.createStdEvent(currentEvent, this.container); } }); } else if (event) { console.dir(event); FW.createStdEvent(event, this.container); } }
In v7.1.0, I got an error "Could not complete the operation due to error 80020101." for an event, such as adfirstquartile.
After I removed both
console.dir(currentEvent);
andconsole.dir(event);
, I didn't have an error.