Resource Timesheet - Detail page Slow
search cancel

Resource Timesheet - Detail page Slow

book

Article ID: 405077

calendar_today

Updated On:

Products

Clarity PPM On Premise Clarity PPM SaaS

Issue/Introduction

In the Timesheet Workspace → Timesheet Grid, when a user clicks on the "Resource Name" column for a submitted timesheet, the application navigates to the Resource Timesheet - Detail page.

The loading of this page is slow due to multiple repeated API calls, particularly the final API call  (resourceProfiles) that retrieves . If the user clicks the "Approve" icon before the page has fully loaded, an error occurs because the necessary data has not yet been rendered.

Steps to Reproduce: 

Pre-requisite: Ensure to have more than 10k submitted timesheet for a particular time period

  1. Login to Clarity MUX 
  2. Navigate to Timesheet Workspace --> Timesheets Grid 
  3. Set filter Like Status = Submitted, Time Period is Open = True, Time Period = $Fill in the time period Dates$
  4. Ensure the approver has around 20+ resources
  5. Now click on the Resource Name column on the Timesheet Grid 
  6. It takes to  Resource Timesheet - Detail for approval 

Expected Results:  On the Resource Timesheet - Detail page, users should be able to approve or return a timesheet without encountering an API error banner. The issue arises because the final API call (resourceProfiles) is triggered at the end of the page load sequence. By that time, the "Approve" and "Return" icons are already visible, and if the user interacts with them before the page has fully loaded, an API error is displayed due to incomplete data initialization.

Actual Results:  In Resource Timesheet - Detail Page user gets an API error causing confusion

Environment

Clarity 16.3.1, 16.3.2, 16.3.3 

Cause

DE173561

Resolution

DE173561 Fixed in

  • Clarity 16.3.3 Patch 1 (16.3.3.1)
  • Clarity 16.4.0

Workaround: Approve timesheets using the Review & Approve module in Timesheet Workspace