"USE 0 decimal or less" when entering values with 4 digits
search cancel

"USE 0 decimal or less" when entering values with 4 digits

book

Article ID: 249993

calendar_today

Updated On:

Products

Clarity PPM On Premise Clarity PPM SaaS

Issue/Introduction

"USE 0 decimal or less" when entering a value greater than 4 digits in a custom numbers field with 0 decimals when the user locale is set to German, Spanish, French


STEPS TO REPRODUCE:

1. Go to Administration > Studio > Objects > Project object
2. On the Attributes tab, create a number type attribute
   Decimal Places set it to 0 so it is an integer number
   Enable it for MUX
3. Modern UX > Add the field to a blueprint
4. Open a project associated to the blueprint and check the field is available.
5. Login with a user with English locale (UK, US ...)
6. Go to the project above and enter values 1,10,100,1000 to the attribute created
7. All of them are saved
8. Change to locale to German, Spanish, French ...
9. Logout and log in for locale changes to take effect
10. Back to the same project and try to enter same values on the numeric field

Expected Results: All values to be saved
Actual Results: You can not save a value with 4 digits (i.e 1000) Error returned: Use 0 decimal places or less

Note: This is an issue when entering 4, 5 or 6 digits number. 

Environment

16.0.3, 16.1.0

Cause

This is caused by DE66857

Resolution

This is fixed in 16.1.1 and has been backported to 16.0.3.3

Workaround: 
1. Add decimals to the attribute definition.
2. Add the field value on the grid view