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 : com.ca.ppm.rest.RequestContext$ParentInfo@668823af , _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.
This issue is caused by DE46326.
The issue is that if the resource is not open for time entry they should not be able to adjust the timesheet item in either Classic or MUX.
Here the user was able to adjust the task in Classic and got an error in MUX when the team member was not open for time entry.
The fix made the fields not editable if user/investment/team member/task and now assignment are not open for time entry.
This was the functionality before the defect was reported.
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.