Red Hat Bugzilla – Bug 1262432
DataIOEditor allows names with illegal characters
Last modified: 2015-11-03 09:16:55 EST
Description of problem:
DataIOEditor does not validate characters in datainput / dataoutput names
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Create a new BP and add a User Activity
2. Edit the assignments property
3. Create a DataInput with name, e.g. "ab#$%def"
Names with illegal characters should not be allowed.
Fixed by making the DataInput and DataOutput names be validated as they are typed. They are also validated when the user moves away from the TextBox - this ensures that copy-pasted values are validated.
Names of DataInputs/Outputs can contain only a-z,A-Z,0-9,-_. This is the same set of characters used in the old DataInput / DataOutput dialog.
Impossible to type white spaces or other special characters like #,@,%,$ as name for data assignment.
Verified on 6.2.0.ER5