Attribute "Status Reporting" Read-only property API attribute ID marked editable and changed
search cancel

Attribute "Status Reporting" Read-only property API attribute ID marked editable and changed

book

Article ID: 267974

calendar_today

Updated On:

Products

Clarity PPM SaaS

Issue/Introduction

There is a Out of the box attribute i.e. Project >Status Reporting with a read only property i.e. API Attribute Id with value of statusReporting. The user from Classic UI is able to mark the property as editable and mistakenly changed value of API Attribute Id and post which "Status Reporting" fails to show the status. 

Recreation Steps

  1. Login to Classic UI
  2. Navigate to Administration > Studio > Objects
  3. Filter to Object > Project
  4. Under Project Object Navigate to Attributes
  5. Filter Attribute Status Reporting
  6. Open the attribute and do below
    1. Remove the default value set for this attribute
    2. Check "Value Required"
    3. Save the changes
    4. Check "Read-Only"
    5. Save it
    6. You will get an error as it fails to save "ODF-0206: Required, Read-Only fields must have a default" but the API Attribute ID will be editable now.
    7. Update the value of API Attribute ID =p_statusReporting
    8. Uncheck Read-Only and save it.
  7. The API Attribute Id of system default and Non-editable filed is changed and above steps can't be executed again to correct it. If we follow above step and try to set API Attribute Id back to statusReporting it throw below error

ERRORODF-0249: API Alias for custom attribute must begin with a lower case letter and an underscore (for ex. 'p_')

Expected Results: The read-only API Attribute Id should never be made editable

Actual Results: End user is able to make changes to read-only API Attribute Id of system default attributes resulted in data corruption.

Environment

Release : 16.0.3 or higher

Component: Clarity Project Management

Resolution

This is a known issue and tracked via DE70348 and is in review by engineering.