Money attribute updates NaN with no English locale
search cancel

Money attribute updates NaN with no English locale

book

Article ID: 427858

calendar_today

Updated On:

Products

Clarity PPM On Premise Clarity PPM SaaS

Issue/Introduction

When using a non English locale like Spanish, Italian, French .. comma is the decimal separator.
If you update a money type attribute on the Details flyout and the Properties page and use a dot as a decimal separator, the value is not saved and returns a NaN value

STEPS TO REPRODUCE:

  1. Administration > Studio > Objects > Project object
  2. Create a Money type attribute
  3. Add the field in MUX project grid
  4. Using a user with a US English locale add the 10.25 (dot separator) value. It is saved correctly.
  5. Change the user locale to Spanish. Add a 11.25 (dot separator) value. It is saved correctly.
  6. Add a 12,25 (comma separator) value. It is saved correctly.
  7. Open the Details flyout. Add a 13,25 (comma separator) value. It is saved correctly.
  8. Add a 14.25 (dot separator) value.

Expected Results: The value to be saved correctly
Actual Results: The value is not saved when using the dot as a separator and saved as NaN

Note: It happens the same on the Properties page

Environment

Clarity 16.4.0

Cause

This si caused by DE182132

Resolution

This is being analyzed by Engineering