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

Mobian RTD module: ensure object to modify exists #11902

Merged

Conversation

ehb-mtk
Copy link
Contributor

@ehb-mtk ehb-mtk commented Jul 2, 2024

Type of change

  • [x ] Bugfix

Description of change

The Mobian RTD submodule modifies site.ext.data in the ortb2 object, but this may not exist. We now create that object when it doesn't otherwise exist. The unit test is changed to verify that the module behaves as expected even when the object doesn't exist. (Also added some type comments and removed an unnecessary instantiation, I can revert those if we are strict about the one-change-per PR policy!)

@ehb-mtk ehb-mtk changed the title Module: Change Module: Change - fix bug in Mobian RTD module Jul 2, 2024
@patmmccann patmmccann changed the title Module: Change - fix bug in Mobian RTD module Mobian RTD module: ensure object to modify exists Jul 2, 2024
@patmmccann patmmccann self-assigned this Jul 2, 2024
@patmmccann patmmccann merged commit 5caa7fc into prebid:master Jul 2, 2024
3 of 4 checks passed
DecayConstant pushed a commit to mediavine/Prebid.js that referenced this pull request Jul 18, 2024
mefjush pushed a commit to adhese/Prebid.js that referenced this pull request Jul 19, 2024
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.

2 participants