The following error is displayed in the Classic TImesheets when a timesheet is edited.
Actions such as "Add Task" and "Populate" result in the error to display to the user:
System error. Contact System administrator.
The following error appears in the BG logs:
ERROR 2019-01-12 13:09:01,109 [http-nio-8080-exec-294] niku.xql2 (clarity:admin:62793292__7CFF7722-AEA1-4211-AA9A-25AF97EBD8BF:timeadmin.timesheetAddTask) Internal Processing exception
java.lang.Exception: Failure while evaluating "timesheetValidatorOption('autoapprove')" in expression "{timesheetValidatorOption('autoapprove')}" error: Invalid expression timesheetValidatorOption('autoapprove'): Validation Manager initialize method cannot be invoked
This is due to a customization called the Global Delivery Timesheet Hook.
This customization overrides the stock functionality.
The Support team will refer any issue with the custom Timesheet Hook to the Global Delivery team.
As a workaround to restore stock functionality, the following steps can be taken:
1. Stop all app services.
2. Navigate to the Clarity customlib folder and move the custom files to an alternate location outside of the Clarity folder.
3. Start all app services.