Error in Hammerhead.js - New Contacts in Salesforce Lighting Experience '22
See original GitHub issueWhat is your Scenario?
Issue: When User logs into Salesforce, selects new Contact button, they are met with the following hammerhead.js error.
Uncaught Error in $A.getCallback() [Maximum call stack size exceeded] throws at http://localhost:1401/MQtFtre6I!s!utf-8/https://static.lightning.force.com/usa59.sfdc-lywfpd/auraFW/javascript/m-U-Tf8BNfJufA5XwOVDIQ/aura_prod.js:90:31. Caused by: Error in $A.getCallback() [Maximum call stack size exceeded] {anonymous}()@http://localhost:1401/MQtFtre6I!s!utf-8/https://static.lightning.force.com/usa59.sfdc-lywfpd/auraFW/javascript/m-U-Tf8BNfJufA5XwOVDIQ/aura_prod.js:62:25015 eval()@http://localhost:1401/MQtFtre6I!s!utf-8/https://static.lightning.force.com/usa59.sfdc-lywfpd/auraFW/javascript/m-U-Tf8BNfJufA5XwOVDIQ/aura_prod.js:62:29308 lt.passthruSetTrap [as set]()@http://localhost:1401/MQtFtre6I!s!utf-8/https://static.lightning.force.com/usa59.sfdc-lywfpd/auraFW/javascript/m-U-Tf8BNfJufA5XwOVDIQ/aura_prod.js:62:29308 PropertyAccessorsInstrumentation._propertySetter()@hammerhead.js:20915:33
What is the Current behavior?
After selecting Contacts tab, or New Contact Button, the following error message is being returned.
Uncaught Error in $A.getCallback() [Maximum call stack size exceeded] throws at http://localhost:1401/MQtFtre6I!s!utf-8/https://static.lightning.force.com/usa59.sfdc-lywfpd/auraFW/javascript/m-U-Tf8BNfJufA5XwOVDIQ/aura_prod.js:90:31. Caused by: Error in $A.getCallback() [Maximum call stack size exceeded] {anonymous}()@http://localhost:1401/MQtFtre6I!s!utf-8/https://static.lightning.force.com/usa59.sfdc-lywfpd/auraFW/javascript/m-U-Tf8BNfJufA5XwOVDIQ/aura_prod.js:62:25015 eval()@http://localhost:1401/MQtFtre6I!s!utf-8/https://static.lightning.force.com/usa59.sfdc-lywfpd/auraFW/javascript/m-U-Tf8BNfJufA5XwOVDIQ/aura_prod.js:62:29308 lt.passthruSetTrap [as set]()@http://localhost:1401/MQtFtre6I!s!utf-8/https://static.lightning.force.com/usa59.sfdc-lywfpd/auraFW/javascript/m-U-Tf8BNfJufA5XwOVDIQ/aura_prod.js:62:29308 PropertyAccessorsInstrumentation._propertySetter()@hammerhead.js:20915:33
What is the Expected behavior?
After Selecting the Contact tab, or new Contact button, the user should be presented with a contact modal that allows users to input contact data.
What is your public website URL? (or attach your complete example)
For our website there is no public URL, however you will be able to reproduce the error using the Trailhead Lightning Demo Site. https://trailblazer.me/trailblazerlogin https://resilient-shark-wlmrgy-dev-ed.lightning.force.com/lightning/o/Contact/list?filterName=Recent
What is your TestCafe test code?
This is being recreated using the testcafe-hammerhead project and is reproducible through selections in the Trailhead site.
Your complete configuration file
No response
Your complete test report
No response
Screenshots
No response
Steps to Reproduce
- Setup free Trailhead User at: https://trailblazer.me/trailblazerlogin , using email.
- Installed the ‘testcafe-hammerhead’ project
- Run Command Line : node node_modules/gulp/bin/gulp http-playground
- In the field on the localhost:1400 page, we enter: https://trailhead.salesforce.com/en/content/learn/modules/accounts_contacts_lightning_experience/accounts-and-contacts-lightning
- Select ‘Proxy!’ button
- Select ‘Log In’ on salesforce / trailhead site.
- Select ‘Email’ icon
- Enter Email for account set up in ‘Step 1’
- Select ‘Log in’ Button.
- Retrieve your Single use code from email sent to email address used in ‘Step 1 / Step 8’
- Select ‘Continue’ Button
- Select ‘Skip for Now’ link
- Confirm Page: https://trailhead.salesforce.com/en/content/learn/modules/accounts_contacts_lightning_experience/accounts-and-contacts-lightning loads successfully
- Scroll to the bottom of the page and select the ‘Launch’ Button (note. On the initial run this step took a while for the launch button to become active, it eventually did however and was able to proceed)
- Wait for Salesforce Lightning Env to load: https://resilient-shark-wlmrgy-dev-ed.lightning.force.com/lightning/page/home
- *At this point you may hit the error. If not { Select the dot grid in the top left, then select ‘Sales’ from the ddl. If Sales is not visible search ‘Sales’ in the ‘Search apps and items…’ field.
- Once Sales Dashboard is loaded Select the ‘Contacts’ tab.
- *At this point you will see the error message, if not select ‘New’ Contact button.
Uncaught Error in $A.getCallback() [Maximum call stack size exceeded] throws at http://localhost:1401/fQA1lRrUK!s!utf-8/https://static.lightning.force.com/usa59.sfdc-lywfpd/auraFW/javascript/m-U-Tf8BNfJufA5XwOVDIQ/aura_prod.js:90:31. Caused by: Error in $A.getCallback() [Maximum call stack size exceeded] {anonymous}()@http://localhost:1401/fQA1lRrUK!s!utf-8/https://static.lightning.force.com/usa59.sfdc-lywfpd/auraFW/javascript/m-U-Tf8BNfJufA5XwOVDIQ/aura_prod.js:62:25015 eval()@http://localhost:1401/fQA1lRrUK!s!utf-8/https://static.lightning.force.com/usa59.sfdc-lywfpd/auraFW/javascript/m-U-Tf8BNfJufA5XwOVDIQ/aura_prod.js:62:29308 lt.passthruSetTrap [as set]()@http://localhost:1401/fQA1lRrUK!s!utf-8/https://static.lightning.force.com/usa59.sfdc-lywfpd/auraFW/javascript/m-U-Tf8BNfJufA5XwOVDIQ/aura_prod.js:62:29308 PropertyAccessorsInstrumentation._propertySetter()@hammerhead.js:20915:33
TestCafe version
1.19.0
Node.js version
v16.15.1
Command-line arguments
node node_modules/gulp/bin/gulp http-playground
Browser name(s) and version(s)
Version 102.0.5005.115 (Official Build) (64-bit)
Platform(s) and version(s)
No response
Other
No response
Issue Analytics
- State:
- Created a year ago
- Comments:12
Top GitHub Comments
Thank you for the example. I reproduced the issue. We will update this thread once we have any news. Let us know if you have additional information about the issue.
Hi @aozomaro ,
Unfortunately, we don’t have any news yet and we cannot give you a precise date. Any estimate may be misleading.