We recently refreshed our development org and I am trying to upload some new work (unrelated to Agile Accelerator) to the org. I am running all tests on validation and getting a number of error messages on a number of ADM classes. Here are a few of the error message:
ADM_AgeOfWorkTests | testTotalAgeWhenClosed | System.DmlException: Update failed. First exception on row 0 with id a2V8H000000B8dyUAC; first error: FIELD_CUSTOM_VALIDATION_EXCEPTION, When Status = Closed, the following fields are required: Deployed Resolution, Release Notes, Scheduled Build: []Stack Trace: (agf)ADM_ApplicationApprover_TriggerTest | testApplicationApproverTrigger | System.DmlException: Insert failed. First exception on row 0; first error: REQUIRED_FIELD_MISSING, Required fields are missing: [ProfileId]: [ProfileId]Stack Trace: (agf)
When looking at the object I can't find any field called ProfileId, or any reference to a ProfileId for a User. Obviously since the package is managed I can't get inside the code to determine where the issue lies.
Any help?
#Agile Accelerator #Fields In Agile Accelerator #Agile Accelerator App #SF Agile Accelerator #SF Agile Accelerator
Hi,
Please check this link.
https://automationchampion.com/2022/04/17/how-to-fix-field_custom_validation_exception-error-2/
Thanks and Regards
Piyush
