-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
return a promise from requestBids causes issues along with criteoId #9191
Comments
@muuki88,
|
Thanks for the immediate response 🤗 So it seems that this change broke multiple requestBid calls? I'm not there the next couple of days to further confirm 😔 |
It does look to be related to #9106 , although it appears to be an odd race condition that I expect will take some time to track down - I think it's best to revert for now. |
Type of issue
prebid.js crashes while starting a second auction, because
adUnits
isundefined
.This only happens when the
criteoIdSystem
is part of the prebid.js distribution.Description
Upgrading to 7.23.0 and having the
criteoIdSystem
active causes prebid.js to crash withI suspect that there's an issue with #9106 as the hook is now
sync
and notasync
(also I do not know what this implies).While trying to build a minimal example, I figured that removing
criteoIdSystem
fixed this issue.Now I'm really puzzled as I thought #9106 may introduced this, but I have no idea why the criteoIdSystem changes this behaviour as well.
Steps to reproduce
Run an "ad pipeline" (or auction pipeline) for a set of ad units.
pbjs.addAdUnits
for the specified adUnitsbjs.requestBids({ adUnitCodes: adUnitCodes, timeout: ..., bidsBackHandler => /* do the gpt targeting stuff */
Test page
https://frag-muki.de/prebid/bucket-issue/
Expected results
No Crash
Actual results
Platform details
Other information
requestBids
#9106The text was updated successfully, but these errors were encountered: