iabtcf-es: Unable to enhance addEventListener command response in 1.1.4
Version: 1.1.4 Module: cmpapi
Version 1.1.4
makes impossible to enhance addEventListener
callback response with Googles AC string
Overriding the command with custom function is now failing with following message:
Error: Built-In Command for addEventListener not allowed: use getTCData instead
.
This was working in 1.1.3
!
By seeing this error, I would expect that customised getTCData
response will be reused for addEventListener
as well, but this is unfortunately not the case 😞
Error on overriding addEventListener

Response for getTCData and addEventListener is not equal

About this issue
- Original URL
- State: closed
- Created 4 years ago
- Reactions: 4
- Comments: 18 (9 by maintainers)
@chrispaterson Hi Chris, could you please check on this? It is a breaking change that makes a lot of trouble and as long as this is not solved we can"t upgrade to newer versions.
@chrispaterson Any updates on this issue? We are also waiting for a fix and are stuck on the upgrade path.
We are having the same problem here, seems like
addEventListener
doesn’t utilizegetTCData
to retrieve the tcData object.v1.2.1 of the library that contains the changes from the PR that closed this ticket is live.