In-line grid entry impossible for a TSV attribute when Backspace/Delete is used
search cancel

In-line grid entry impossible for a TSV attribute when Backspace/Delete is used

book

Article ID: 278241

calendar_today

Updated On:

Products

Clarity PPM SaaS Clarity PPM On Premise

Issue/Introduction

If you use the backspace or delete keys on the keyboard to clear a value, creating an inline grid entry or updating a TSV attribute becomes impossible.

Steps to Reproduce: 

  1. Create a custom TSV attribute (data type = time-varying attribute) on Project object 
  2. Navigate to clarity project page and in the grid add the custom TSV column (per period metric) from the Columns tab
  3. View options can be anything
  4. Create few values in the cells available
  5. Double click into any cell with an existing value to begin inline edit 
  6. Hit backspace key (windows) or delete (Mac)
  7. Do not change the value but click by mouse on a different TSV row value
  8. Then navigate back to original TSV value and try to change this value.

Expected result:
The TSV value can be edited

Actual Result:
The TSV value cannot be edited 

Work around: Refresh the page in order to edit the TSV attribute over again

Or Use the delete button without double clicking into the TSV cell, just single click on the cell and use the delete/backspace keyboard button

Chrome Browser captures console error:

ppm-lib-a407f5147e.min.js:606 Uncaught value: E_INVALID_PAR_TYPE: Invalid `value` parameter (NaN). a string expected.
    at i (http://ClariityURL:xxxx/pm/js/ppm-lib-a407f5147e.min.js:606:560)
  ... at Object.removeNumberFormatting (http://ClariityURL:xxxx/pm/js/ppm-core-app-d38f69e54e.min.js:18:193012)
    at tsvValueSetter (http://ClariityURL:xxxx/pm/js/ppm-components-7a8ba2eade.min.js:18:1007677)
    at e.setValue (http://ClariityURL:xxxx/pm/js/ppm-lib-a407f5147e.min.js:494:109755)
    at t.setDataValue (http://ClariityURL:xxxx/pm/js/ppm-lib-a407f5147e.min.js:364:31162)
    at e.saveNewValue (http://ClariityURL:xxxx/pm/js/ppm-lib-a407f5147e.min.js:424:62081)

Cause

DE78952

Resolution

DE78952, fixed in 16.2.1