Calculated Attribute Shows Wrong Value With Some Non-English Locales
search cancel

Calculated Attribute Shows Wrong Value With Some Non-English Locales

book

Article ID: 383733

calendar_today

Updated On:

Products

Clarity PPM On Premise Clarity PPM SaaS

Issue/Introduction

A calculated field does not show the right value in the Details flyout in certain scenarios when using some non-English (United States) locales, such as Italian (Italy), German (Germany), Spanish (Spain)...

Steps to Reproduce:

  1. Create a new Number attribute (i.e.: 'number_attribute') for the Project object.
  2. Create a new Calculated (Number) attribute (e.g.: 'calculated_attribute') for the Project object, that calculates according to this formula:
    (number_attribute/8)
  3. Navigate to the Modern UX Project List, then change the Locale to Italian (Italy) [also observed in Spanish (Spain) or German (Germany), but not for French (France)].
  4. Add the two attributes in the Project Grid view.
  5. For a project instance, set the number_attribute value to 33.
  6. Open the Details flyout.

Expected Results: The same value appears in both the Grid and Details flyout (i.e.: with these steps, as the attributes have 0 decimals by default, calculated_attribute should show 4).

Actual Results: The Grid view shows 4, whereas the Details flyout shows 4125.

Environment

Clarity 16.2.3, 16.3.0.

Cause

DE157078

Resolution

This issue has been fixed as part of DE157170: Number field with 3 decimals multiply by 1000 on some locales