question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unable to enhance addEventListener command response in 1.1.4

See original GitHub issue

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 Screenshot 2020-10-14 at 13 39 34 (1)
Response for getTCData and addEventListener is not equal Screenshot 2020-10-14 at 15 02 26

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:4
  • Comments:18 (1 by maintainers)

github_iconTop GitHub Comments

3reactions
heikostaabcommented, Oct 27, 2020

@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.

2reactions
res-iocommented, Oct 27, 2020

@chrispaterson Any updates on this issue? We are also waiting for a fix and are stuck on the upgrade path.

Read more comments on GitHub >

github_iconTop Results From Across the Web

EventTarget.addEventListener() - Web APIs | MDN
The addEventListener() method of the EventTarget interface sets up a function ... which is responsible for actually responding to the event.
Read more >
I can't get addEventListener to work properly - Stack Overflow
I think shouldn't nest all those event listeners in plusBtn.addEventListener . Try to split them and make work independently.
Read more >
HTML DOM Document addEventListener() Method - W3Schools
Definition and Usage. The addEventListener() method attaches an event handler to a document. ; Syntax. document.addEventListener(event, function, Capture) ...
Read more >
Maverick Legacy Client CHANGELOG - JADAPTIVE
Requires upgrade to maverick-common 1.1.4 which is included in this release. ... o Debug mode now logs command input/output in log. o SftpClient...
Read more >
addEventListener() - Beau teaches JavaScript - YouTube
The addEventListener () method attaches an event handler to the specified element without overwriting ... Your browser can't play this video.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found