Skip to content
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

Rubicon Bid Adapter: fix saving state of single request option #10332

Merged
merged 2 commits into from
Aug 9, 2023

Conversation

robertrmartinez
Copy link
Collaborator

Type of change

  • Bugfix

Description of change

Reverts the logic in PR #9050

This PR introduces a regression where if user runs multiple rubicon setConfigs it will not save state of the singleRequest.

See my comment in the PR for more details: #9050 (comment)

This PR also introduces logic to gather the current state of the rubicon config at init time if for some reason prebid core had processed setConfigs before modules had been loaded.

Which I have not encountered as of yet, but perhaps there are use cases where prebid core is loaded, then the que block is executed, and then modules are initialized?

Or if a module is loaded dynamically later on or something.

Now the rubicon adapter will grab the current state at init time as the initial default instead of empty object.

@ChrisHuie ChrisHuie changed the title Rubicon Bid Adapter: Fix saving state of single request option Rubicon Bid Adapter: fix saving state of single request option Aug 9, 2023
@ChrisHuie ChrisHuie self-requested a review August 9, 2023 10:28
@ChrisHuie ChrisHuie self-assigned this Aug 9, 2023
@ChrisHuie ChrisHuie merged commit 3d41276 into master Aug 9, 2023
4 checks passed
@ChrisHuie ChrisHuie deleted the rubicon-fixSingleRequest branch August 9, 2023 10:52
santii7395 pushed a commit to themaven-net/Prebid.js that referenced this pull request Aug 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants