Data Painter Editor Overwrites Function Parameters or Clears Expression
search cancel

Data Painter Editor Overwrites Function Parameters or Clears Expression

book

Article ID: 437274

calendar_today

Updated On:

Products

CA Test Data Manager (Data Finder / Grid Tools)

Issue/Introduction

When editing a variable in the TDM Portal Data Painter, selecting a function from the list (e.g., abs(number)) and immediately typing a multi-digit parameter causes the first digit to be overwritten or the rest of the function expression to disappear.

Environment

CA Test Data Manager (TDM) Portal, all supported releases

Cause

The issue occurs because the placeholder text within the function remains fully highlighted after selection. If the user begins typing without first focusing the cursor or clearing that highlight, the interface interprets subsequent keystrokes as a command to overwrite the entire highlighted block rather than appending characters.

Resolution

This behavior is resolved in TDM Portal 5.0.10.10. Upgrading to version 5.0.10.10 or later corrects the Data Painter behavior, allowing you to type immediately without manually clicking the highlighted area to set focus.

For TDM Portal 4.11 and older:

To correctly enter multi-digit values within Data Painter functions, follow these steps:

  1. Select the Function: Open Data Painter and choose your desired function (e.g., abs(number)).
  2. Clear the Highlight: Click directly on the highlighted "number" placeholder text inside the parentheses. This action removes the "overwrite" highlight and properly positions the cursor.
  3. Enter the Value: Type your desired parameter (e.g., "10"). The digits will now appear sequentially without clearing the expression.

 

Additional Information

Workaround:
If you have already typed the first digit and notice the remaining expression is still highlighted:

  • Click the space between your first digit and the closing parenthesis ) to remove the highlight.
  • Continue typing the remaining digits.