search cancel

Clarity PPM - Modern UX - List Views: Pasting numbers with comma separators throws CMN-0008

book

Article ID: 186764

calendar_today

Updated On:

Products

Clarity PPM On Premise Clarity PPM SaaS

Issue/Introduction

STEPS TO REPRODUCE:
1. Create two new attributes in the Project object of data types "Number" and "Money". Provide an API Alias so that they can be displayed in the Modern UX
 a. (Administration -> Objects -> "Project" -> Attributes -> New)
2. Navigate to the Modern UX -> "Projects"
3. Display the two new attributes created in Step 1 in the list view

4. Type this number in Notepad: "12,345"
5. Copy the number and paste it into one of the cells of the columns displayed in Step 3

6. Type this number in Notepad: "12345"
7. Copy the number and paste it into one of the cells of the columns displayed in Step 3

8. Type this number directly into a cell from columns displayed in Step 3: "12,345"

Expected Result: No error comes up in steps 5, 7 and 8
Actual Result: An error gets thrown in step 5: "CMN-0008: Attribute 'att2101200' data type is incorrect."

Environment

Version: 15.7.1.

Cause

This issue is caused due to a defect with ID DE54001.

Resolution

The defect is fixed in version 15.8.1.
 
WORKAROUND:
Double click on the cell to paste numbers with comma in them.
Please be aware that this workaround has a limitation of not having the capability to paste multiple numbers at once into multiple cells in the Modern UX.

Additional Information

The following error logging is noticed in the app-ca.log

"
ERROR 2020-02-19 06:49:23,259 [http-nio-80-exec-142] rest.validation (clarity:admn:5409060__8E87A-C87C-4BDB-A695-7F353B0A6815:PPM_REST_API) ExceptionInfo ::  Could not update resource. Resource name: custObjs. Error code: validation.dataTypeInvalid Error message: CMN-0008: Attribute 'att2101200' data type is incorrect.
ERROR 2020-02-19 06:49:23,275 [http-nio-80-exec-142] rest.validation (clarity:admn:5409060__8E87A-C87C-4BDB-A695-7F353B0A6815:PPM_REST_API) ExceptionInfo ::  Could not update resource. Resource name: custObjs. Error code: validation.dataTypeInvalid Error message: CMN-0008: Attribute 'att2101200' data type is incorrect.

"