Skip to content

dataCategories property is stripped out from new GVL() #441

Open
@emilisense

Description

@emilisense

Version
1.5.6
Module (core, cmpapi, cli, stub, or testing)
Core
Describe with reproduction steps – What is the expected behavior?
It seems that when either passing a ready object or setting GVL.baseUrl, the dataCategories property is being stripped out and cannot be visible in the gvl object after initialization. Is there any particular reason for this to be stripped out or it is just missed?

The fix for this is to add this.dataCategories = gvlObject.dataCategories; in the populate function, before the following check:
if (this.isVendorList(gvlObject)) {

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions