Update Failed for Time Entry when trying to update adjusted timesheet in the new UX

book

Article ID: 132271

calendar_today

Updated On:

Products

Clarity PPM On Premise

Issue/Introduction

If a resource tries to adjust a task on a timesheet after they are closed for Time Entry on the associated project, they can do this in Classic, but in the New User Experience (New UX) they receive an error "Update Failed for Time Entry".  The hours show but do not save if you move to another period and then move back. 


Error from app-ca.log:-


ERROR 2019-01-04 17:54:52,839 [http-nio-80-exec-244] rest.validation (#######:##:#######__########-####-####-####-############:PPM_REST_API) ODFResourceProvider :: Could not update resource. Object code alias: [ requestUrl: http://clarityenvironment/ppm/rest/v1/timesheets/5007001/timeEntries/5006001 , _restResourceName : timeEntries , _id : 5006001 , _parentInfo : [email protected] , _apiVersion : v1 , _includeLinksArray : true] 

ERROR 2019-01-04 17:54:52,839 [http-nio-80-exec-244] rest.validation (#######:##:#######__########-####-####-####-############:PPM_REST_API) ExceptionInfo :: Could not update resource. Resource name: timeEntries. Error code: timeadmin.timeentry.api.TEAM_NOT_OPEN Error message: TMA-1002: Team member status is not open for time entry: Resource ID 


Behavior in Classic PPM view:


1. Post time to a task with one task on the timesheet 


2. Remove 'Open for Time Entry' from the Team for the resource 


3. Go to Classic view and adjust the timesheet 


Results: You are able to adjust the timesheet 



Steps To Reproduce issue in New UX (User Experience):

1. Go to a timesheet in the New UX

2. Post time to a task with one task on the timesheet

3. Change 'Open for Time Entry' for the resource on the Team for the related project to No

4. Go to the posted timesheet in the New UX and adjust the timesheet 

5. Update hours for the task on the timesheet


Expected Results: The task hours are able to be saved and no errors are displayed 


Actual Results: Receive error "Update Failed for Time Entry" and you cannot submit the updated timesheet. If you click into another timesheet, the changes made are lost. 

Cause

This issue is caused by DE46326.

Environment

CA PPM (Clarity) v15.5.1 and 15.6

Resolution

This issue is fixed in Clarity PPM v15.6.1


Workaround: Temporarily reopen the resource for time entry on the project team tab, then you can edit the hours on the adjusted timesheet.