Saving a properties page containing a read-only field (custom calculated attribute) with more than 20 characters in the value results in a "Value is too large" error.
Steps to Reproduce:
- Log into Clarity as the administrator
- Go to the admin tool
- Click on Objects within the Clarity Studio
- Filter and select the Project object
- Click on Attributes
- Click on New to create a new calculated string attribute
- Enter the Attribute Name, ID and Description
- Select the Data Type "Calculated"
- Select the Result Data Type "String"
- Click on Save
- Select the [Build Calculated Attribute] link on the Calculation field
- Select the Function "Concat"
- Select the Attribute Name (ID) as Argument 1 and select Created By (created by) from the list as the attribute
- Click on Generate
- Click on Validate (a message "ODF-0020: The expression syntax is valid show" should appear)
- Click on Submit
- Then Click on Submit again
- Click on Views for the project object
- Select the [Layout: Edit] link for the Project Properties page
- Click on the General link
- Click on the Properties & Layout icon next to Section
- Select the attribute from the Available column and Add the field to the Selected column
- Click on Submit
- Select Resources from the navigation bar
- Create a resource with a name having more than 20 characters
- Give the resource all Project Management rights as the global rights
- Log in as that user and select Projects from the navigation bar
- Click on New to create a new project
- Once you have entered the compulsory details, save the project
- Now the Project Properties page will appear. Notice the Created by custom attribute you created and the resource with over 20 characters name appears as the creator of the project
- Now simply again click on Save even without making any changes to the project properties
Expected Result: Project should Save.
Actual Result: An error, "Value is too large" appears and the field then becomes editable.
Applies to all supported PAS environments until CA Clarity version 12.1.0.
Caused by CLRT-15364.
Resolved in CA Clarity 12.1.0.
To save the project again, delete the extra characters so that you only have 20 or less characters in the custom attribute you created, then click on Save. The project is then saved without any error messages and the full resource name re-appears (more than 20 characters). However, if you try to save the project again, the same error re-appears and you will have to apply the workaround again to save the project.
Reference Release Notes and CA PPM Resolved Defects Index for CA Clarity 12.1