KI-123
New Account throws system errors if Lightning Web Security (LWS) is disabled
Created date | 06/05/2024 | Updated date | 06/05/2024 |
Status | Backlog | Related work item | MIC-3777 |
Description | When using the new Account Search UI introduced in V14 and LWS is disabled, errors during new account creation result in a Lightning Web Component (LWC) error instead of a helpful error toast. The LWC error modal appears with the following error, “EventTarget.dispatchEvent: Argument 1 does not implement interface Event”. This is occurring because the LightningModal requires LWS and therefore MIC does as well. Visit Salesforce’s Modal Events with LAWS and Lightning Locker documentation. | ||
Affects version(s) | MIC V14, MIC V14.1 | Impacted capabilities | Inquiry Management |
Steps to reproduce |
Notice the LWC error modal appears rather than an error toast message. | ||
Workaround | See Resolution notes. | ||
Fix version | Resolution notes | Enable Lightning Web Security. Visit Salesforce’s Enable Lightning Web Security documentation. |