Idea

1
Replies
88
Views

Error in harness should include a nbsp

When a harness error consists of both a field value and a message rule, a ":" character is added to the HarnessErrorList. However, we would like to see additional spacing so that an error is shown as following:

Controleer communicatie gegevens:De communicatie gegevens moeten met de klant worden gecontroleerd.
becomes
Controleer communicatie gegevens: De communicatie gegevens moeten met de klant worden gecontroleerd.

This can be fixed by changing the following line in HarnessErorrList (RULE-HTML-SECTION @BASECLASS HARNESSERRORLIST #20191212T132311.007 GMT)

47 tools.appendString("<div class=\"custom_iconError\" style=\"float:left;margin-right:5px;\"></div><div><div style=\"float:left\"><b>"+strPropertyLabel+"</b>:</div><div class=\"custom_text\"> "+strValue+"</div></div>");
to
47 tools.appendString("<div class=\"custom_iconError\" style=\"float:left;margin-right:5px;\"></div><div><div style=\"float:left\"><b>"+strPropertyLabel+"</b>:&nbsp;</div><div class=\"custom_text\"> "+strValue+"</div></div>");

***Moderator Edit-Vidyaranjan: Updated Platform Capability***

Related Support Case Numbers: ,