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

module name incorrect in hadron id module code #11149

Closed
pm-manasi-moghe opened this issue Feb 28, 2024 · 0 comments · Fixed by #11151
Closed

module name incorrect in hadron id module code #11149

pm-manasi-moghe opened this issue Feb 28, 2024 · 0 comments · Fixed by #11151

Comments

@pm-manasi-moghe
Copy link
Contributor

pm-manasi-moghe commented Feb 28, 2024

Type of issue

Bug

Description

In the hadronId module, while creating a storageManager object, the module name used is 'hadron'. When the gdprEnforcement module tries to fetch the GVLID for this module, it doesnt find the same and hence denies 'deviceAccess' for the module.
Line of code:
"export const storage = getStorageManager({moduleType: MODULE_TYPE_UID, moduleName: 'hadron'});"
-- we will need to change 'hadron' to 'hadronId' as the value of the moduleName key.

Steps to reproduce

Add hadronId in your prebid bundle. Load the page in EU region and ensure hadronId has vendor consent.
You will see the following error message in browser console:
WARNING: Activity control: TCF2 denied 'accessDevice' for 'userId.hadronId'

Expected results

HadronId should be generated if it has been provided vendor consent

Actual results

WARNING: Activity control: TCF2 denied 'accessDevice' for 'userId.hadronId'
No id generated for hadronId

Platform details

Latest verion of prebid

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

Successfully merging a pull request may close this issue.

1 participant