Skip to content

Conversation

@protonate
Copy link
Collaborator

Type of change

  • Bugfix

Description of change

A call to pbjs.clearAuction() will send through a pending request for bids, if any, which will set a new bidsBackHandler callback. The previously called callback should be deleted before calling pbjs.clearAuction().

fixes #600
/ht to @anxobotana for the fix

@protonate protonate added the bug label Sep 15, 2016
@protonate protonate changed the title delete the callback before calling clearAuction delete the callback before calling clearAuction #600 Sep 15, 2016
@protonate
Copy link
Collaborator Author

@matthewlane @mkendall07 ready for review

Copy link
Collaborator

@matthewlane matthewlane left a comment

Choose a reason for hiding this comment

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

Passing tests, code addresses issue mentioned, looks good

@mkendall07
Copy link
Contributor

Confirmed this fixes the issue. Thanks

@mkendall07 mkendall07 merged commit 8a18079 into master Sep 16, 2016
@mkendall07 mkendall07 deleted the bugfix/600/delete-callback-before-clear-auction branch September 22, 2016 19:07
marian-r added a commit to aol/Prebid.js that referenced this pull request Sep 23, 2016
…3.0 to master

* commit '9d4bc7fda6bcc249544fb8636b98e90fdc8d474b': (44 commits)
  Added support for new adapters introduced in 0.13.0 into AOL analytics
  Updated CHANGELOG
  Fixed merge conflict
  Prebid 0.13.0 Release
  Resolves prebid#635 (prebid#640)
  Add IX Deal Support (prebid#638)
  Bug fix: accept custom timeout prebid#582 & prebid#604 (prebid#641)
  added timeouts to rubicon adapter that consider time-to-start costs (prebid#629)
  Modify handling of no-bids in Krux Link adapter (prebid#628)
  Allow bypassing ajax preflights with config options (prebid#630)
  validateIndentation: Invalid indentation character (prebid#631)
  use `splice` rather than `slice` to remove bids from array (prebid#637)
  delete the callback before calling clearAuction (prebid#636)
  Deal override fix to resolve prebid#618 (prebid#619)
  Update package.json
  Video - create mastertagUrl from adservertag (prebid#614)
  Prevent renderAd from rendering videos (prebid#623)
  Remove unused build depencencies (prebid#622)
  Add pull request template (prebid#615)
  Openx adaptor deal update (prebid#612)
  ...
Studnicky pushed a commit to sonobi/Prebid.js that referenced this pull request Oct 4, 2016
pm-abhinav-deshpande pushed a commit to pm-abhinav-deshpande/Prebid.js that referenced this pull request Apr 23, 2025
* changes in ow logger call to keep it in sync with ih logger

* added test cases for ih logger changes

* renamed variable

* removed unused code

* Idnt 516 (prebid#636)

* provision to add custom values for modules who can receive the email hashes

* added validation to check if IHPWT namespace exists

* add condition for window.PWT too

* pass value of ih as an int and not string
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.

bidmanager.executeCallback potential bug breaks and prevents bidsBackHandler to be called

4 participants