Modern UX Tasks Timeline View : Could not save the view Error
search cancel

Modern UX Tasks Timeline View : Could not save the view Error

book

Article ID: 249655

calendar_today

Updated On:

Products

Clarity PPM On Premise

Issue/Introduction

We have one project when you load it in the Modern Task Timeline view : you get the error "could not save the view"

  1. No view works on this project.
  2. The view being accessed works on other projects.
  3. We can access the data on the board and grid, the Gantt, in Classic and OWB

 

Environment

Release : 16.0.1

Component : PPMMUI

Cause

Reviewing the HAR file from Browser trace indicates an issue with Picklist Contexts where the object code is null for impacted projects. The API call looks like below.

ppm/rest/v1/private/picklistContexts/projectid/picklists?filter=((objectCode+%3D+null)+and+(attributeCode+%3D+%27prstatus%27)+and+(isPicklist+%3D+true)+and+(isActive+%3D+true))

 

Resolution

  1. Use the below query to Identify the problematic projects/Projects affected by the issue.

    Oracle :-
    select con.id,con.name, con.code, inv.name, inv.code as inv_code
    from ODF_PICKLIST_CONTEXTS con, INV_INVESTMENTS inv
    where inv.id||'::projects::tasks' = con.CODE
    and con.OBJECT_CODE is null
    MSSQL :-
    select con.id,con.name, con.code, inv.name, inv.code as inv_code
    from ODF_PICKLIST_CONTEXTS con, INV_INVESTMENTS inv
    where cast(inv.id as varchar)+'::projects::tasks' = con.CODE
    and con.OBJECT_CODE is null

  2. Create a support ticket with the details from the queries so that support can validate.