Error When Trying to Update Attribute : CMN-0015: Attribute 'xxxxxxx' was locked and cannot be changed
search cancel

Error When Trying to Update Attribute : CMN-0015: Attribute 'xxxxxxx' was locked and cannot be changed

book

Article ID: 268539

calendar_today

Updated On:

Products

Clarity PPM On Premise Clarity PPM SaaS

Issue/Introduction

Unable to modify an attribute with banner error
 CMN-0015: Attribute 'xxxxxxx' was locked and cannot be changed

The APP logs contain example attributes that cannot be changed:

ERROR 2023-06-22 21:02:09,115 [http-nio-80-exec-11] rest.validation (clarity:user:session:PPM_REST_API)
ExceptionInfo ::  Could not update resource. Resource name: projects. Error code: validation.lockedAttribute Error message: CMN-0015: Attribute 'name' was locked and cannot be changed.


ERROR 2023-06-22 21:18:53,667 [http-nio-80-exec-17] rest.validation (clarity:user:session:PPM_REST_API)
ExceptionInfo ::  Could not update resource. Resource name: projects. Error code: validation.lockedAttribute Error message: CMN-0015: Attribute 'is_active' was locked and cannot be changed.

Resolution

After checking that there are no processes or blueprint business rules in place, the following query needs to be ran:

select * from odf_locked_attributes
where object_code = 'project'
and attribute_code = 'name'

A deletion statement can then be created. Raise a ticket with Broadcom Support if help is required.