Predecessors on timeline view not working when the Show Today toggle is enabled
search cancel

Predecessors on timeline view not working when the Show Today toggle is enabled

book

Article ID: 279083

calendar_today

Updated On: 02-28-2024

Products

Clarity PPM On Premise Clarity PPM SaaS

Issue/Introduction

Unable to set Predecessors on project/investment tasks on the timeline view if the Show Today toggle is enabled

STEPS TO REPRODUCE

  1. Create a project or any custom investment and add a couple of tasks
  2. On the Tasks tab > Go to the Timeline view
  3. Add the Predecessors column to the view.
  4. Note the WBS sort of the tasks
  5. On the task with the WBS 2, edit the Predecessor column and add a value of 1
  6. Notice the task dependency gets set
  7. Remove the predecessor value
  8. Go to View Options and enable the Show Today toggle
  9. On the task with the WBS 2, edit the Predecessor column and add a value of 1

Expected Results: The task dependency to be set correctly and the value to be saved
Actual Results: You get an error: Attribute(s) 'dependencyType, dependentTaskId, depRelationship' are not supported

  1. On the task with the WBS 2, edit the Predecessor column and add a value of 2

Expected Results: The task dependency to be set correctly and the value to be saved
Actual Results: The value of the predecessor is set as 1 

Cause

This is caused by DE79641

Resolution

This is fixed in 16.2.2

Additional Information

The value saved is always 1 value lower than the one typed.

If a value of 1 is entered you get the error
You are also then unable to remove the predecessor value from the field

app-ca.log shows the following errors:
 
ERROR 2024-02-09 09:55:43,186 [http-nio-8080-exec-367] ppm.rest (clarity:myuser:5425851__D95C77DE-EFFB-402F-A71C-EF272E2DB63F:PPM_REST_API) (b1341238-2652-42b8-b2dd-0d42f6fb17ed) 
com.ca.ppm.rest.exception.BadRequestException: Attribute(s) 'dependencyType, dependentTaskId, depRelationship' are not supported.
at com.ca.platform.osf.object.rest.provider.ODFResourceProvider.handleODFException(ODFResourceProvider.java:3368)
at com.ca.platform.osf.object.rest.provider.ODFResourceProvider.createEntity(ODFResourceProvider.java:956)