You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
getConsentData is not queued when modal is still open #212
Which return 'undefined' and 'Could not find cookieVersion to encode' if consentData is not available yet.
Instead of instantly returning, the CMP should queue these commands until consent data is available. There is code for this but that doesn't seem to work:
Edit: The problem seems to be that this.store.persistedVendorConsentData has been initialized to an empty object at that point. Because of that no command is ever queued. I fixed this by checking for an empty object, but I'm not sure that this is the right way to go.
Activity