KI-16
Blank object-specific SLA configuration values result in null pointer exceptions
Key/Summary | KI-16 Blank object-specific SLA configuration values result in null pointer exceptions | Status | Done |
Created | 09/17/2019 | Updated | 12/19/2019 |
Description | The object-specific SLA configuration within the Local Setting custom metadata type throws exceptions when Users attempt to create new records. The specific error message presented contains the following portion: Insert failed. execution of BeforeInsert caused by: System.NullPointerException This issue exists for the following fields: Request SLA (MED_Request_SLA_c, Adverse Event SLA (MED_Adverse_Event_SLAc), & Product Quality Complaint SLA (MED_Product_Quality_Complaint_c). When any of these fields is blank, the corresponding object is unable to be created. For example, if Request SLA is blank Users will be unable to create Requests. | ||
Impacted Capabilities | Affected Apps | Medical Information Cloud - Classic Medical Information Cloud - Lightning | |
Affects Versions | V7 | Fix Version | V8 |
Steps to Reproduce | 1. Access the configured local settings by navigating to Setup > Custom Metadata Types > Local Setting > Manage Local Settings. 2. Locate the entry applicable to the impacted User. 3. Update the Local Setting with a blank value for Request SLA, Adverse Event SLA, and/or Product Quality Complaint SLA. 4. Attempt to create the corresponding record as a User covered by the Local Setting. 5. Observe the error presented to the User. | ||
Workaround | Populate all object-specific SLA fields with a numeric value (e.g. 8.00). |