'Disable Editing Attributes' does not refresh view when condition is false
book
Article ID: 278769
calendar_today
Updated On:
Products
Clarity PPM On PremiseClarity PPM SaaS
Issue/Introduction
The UI Action 'Disable Editing Attributes' refreshes the view when it disables an attribute, but it does not refresh the view when it enables it back.
Steps to Reproduce:
Create a lookup attribute in the Project object. (or use existing Lookup for 'WIP Class'; this is not a required field and is allowed to be empty)
Create a Boolean attribute in the Project object. (or use existing Boolean 'Use System Reinvestment Rate' this is a system Boolean field) Check that you have some projects already where the Lookup HAS a selected value and the Boolean field is checked and some where the Boolean is not checked.
Create a new Rule in a Project blueprint: Target Object: Project Rule Type: Attribute Update Target Attribute: Lookup from Step 1. If 'Is Empty', then; Data Actions: (none) UI Actions: Disable Editing Attributes - Disable Selected - Boolean from Step 2
With the Rule enabled, publish the Blueprint and assign it to some projects.
Add the lookup and Boolean attributes into the Details flyout and grid.
When the Lookup has a value, the boolean is enabled (value can be changed). When the Lookup does not have a value, the boolean is disabled (value cannot be changed).
When the lookup has a value (boolean is enabled), set the lookup value to '--None--'.
Expected and Actual Results: View refreshes and the boolean is disabled.
Now that the lookup does not have a value (boolean is disabled), set any value to it.
Expected Results: View refreshes and the boolean is enabled.
Actual Results: View does not refresh and boolean is visibly disabled.
Environment
Clarity 16.2.0.
Cause
DE79561
Resolution
This issue is fixed in Clarity 16.2.2.
Workaround: Causing any refresh to the view (e.g.: closing and reopening the Details flyout) will show the boolean enabled as expected.