'Disable Editing Attributes' does not refresh view when condition is false
search cancel

'Disable Editing Attributes' does not refresh view when condition is false

book

Article ID: 278769

calendar_today

Updated On:

Products

Clarity PPM On Premise Clarity 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:

  1. 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)
  2. 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.
  3. 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
  4. With the Rule enabled, publish the Blueprint and assign it to some projects.
  5. Add the lookup and Boolean attributes into the Details flyout and grid.
  6. 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).
  7. 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.

  1. 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.