We're updating the issue view to help you get more done. 

Support for checking user input to detect invalid non-printable characters

Description

In RM-7261, the behavior has been modified to only detect Control characters.


  • Validator for BocTextValue and BocMultilineTextValue.

  • Error message should specify the line number and position of the invalid character.

  • Validate that each individual line does not contain any separator (except regular whitespace) or control characters.

  • For re-motion 1.20, the feature must be enabled for each BocTextValue and BocMultilineTextValue via the TextBoxStyle.HasValidationForNonPrintableCharacters flag. For re-motion 1.22 and later, this feature is always enabled.

Implementation notes:

  • Char.IsControl(char) should be sufficient for control characters, including line break and chariage return.

  • Check if for all Char.IsSeparator(c) Char.IsControl(c) is also true.

  • Behavior of BocAutoCompleteTextValue for input and search? In particular, the search string is built on the client side, therefor no central solution is possible.

Resources:

Status

Assignee

Michael Ketting

Reporter

Michael Ketting

Time tracking

4h

Components

Fix versions

Priority

Normal
Configure