Skip to main content

KI-99

[Salesforce Spring ’23 release] Enablement of LWS prevents the selection of patient accounts in Account Search

Created

March 9, 2023

Updated

March 10, 2023

Status

Done

Description

As part of Salesforce’s Spring ’23 release, Lightning Web Security (LWS) is automatically enabled for Lightning Web Components and Aura components. (For more information, reference Salesforce's release notes.) With this update, users who select a patient in Account Search to enroll into a care plan may run into a generic “Sorry to interrupt” error.

Affects Versions

KCC V1.1.0

Fix Version

Related Work Item

PJN-2113

Steps to Reproduce

  1. Create a new Account record of the PJN_Patient record type.

  2. Create a new Request (Case) record.

  3. In the Request record, click Account Search.

  4. Search for the patient you created in step 1.

  5. In the search result, click the dropdown on the right-end of the patient’s details and then Select Patient. Notice the “Sorry to interrupt” pop-up that appears.

Workaround

  1. In Setup, search for and select Session Settings.

  2. Scroll to the Lightning Web Security section.

  3. Uncheck the Use Lightning Web Security for Lightning web components (GA) and Aura Components (Beta) checkbox.

  4. Click Save.