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

UserID: bugfix for refreshUserIds with updated info #7105

Merged
merged 2 commits into from Jul 14, 2021

Conversation

aaroniniguez
Copy link
Contributor

Type of change

  • [ x] Bugfix
  • Feature
  • New bidder adapter
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Does this change affect user-facing APIs or examples documented on http://prebid.org?
  • Other

Description of change

calling pbjs.refreshUserIds() with updated UserId info does not update adUnitBids (since addIdDataToAdUnitBids is passed in initializedSubmodules which is not updated by pbjs.refreshUserIds())

Other information

Fixes this issue:
#6783

@ChrisHuie ChrisHuie changed the title BugFix UserID module refreshUserIds UserID: bugfix for module refreshUserIds Jun 29, 2021
@ChrisHuie ChrisHuie changed the title UserID: bugfix for module refreshUserIds UserID: bugfix for refreshUserIds with updated info Jun 29, 2021
@ChrisHuie ChrisHuie requested a review from Fawke July 1, 2021 13:38
Copy link
Contributor

@Fawke Fawke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @aaroniniguez, thank you for fixing this bug. Your changes look good to me, there's just an inline comment, see if we'd want to do that. Thanks.

modules/userId/index.js Outdated Show resolved Hide resolved
@Fawke
Copy link
Contributor

Fawke commented Jul 13, 2021

Adding @smenzer for a second review since it's a core change.

@Fawke Fawke requested a review from smenzer July 13, 2021 08:24
Copy link
Collaborator

@smenzer smenzer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Fawke Fawke merged commit 48f3133 into prebid:master Jul 14, 2021
@Fawke Fawke added the LGTM label Jul 14, 2021
prebidtappx pushed a commit to prebidtappx/Prebid.js that referenced this pull request Nov 15, 2021
* BugFix UserID module refreshUserIds

* break from for loop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants