Defects
An email with a smiley is not processed by the E-mail Recorder
ID: | D27945 | |
Published: | 27 February 2023 | |
Updated: | 20 April 2023 |
Defect Id
DEF347934
Originally Reported Against
SBM 11.8
Description
An email containing a smiley isn't processed by the E-mail Recorder.
There are errors like this in the ns.log:
ERROR 25-01-2023 13:54:00 [MailClient] -- Failed to attach note to item 10331:1044 WSFault message is: Broken surrogate pair: first char 0xd83d, second 0x20; illegal combination
Incoming message subject was RE: ABC Project [ttid: 1234,12345]
org.apache.axis2.AxisFault: Broken surrogate pair: first char 0xd83d, second 0x20; illegal combination
Resolution
As a workaround:
- Go to \Common\tomcat\server\default\webapps\notificationsrv\WEB-INF\classes\config.properties.
- Locate the setting ns.email.ctrl.characters.regex=[\\x00-\\x09]|[\\x0B\\x0C]|[\\x0E\\x7F]|[\\x16-\\x1F]|[\\p\\p\\p\\p]|(&#(\\d)+;)
- Remove the \\p part. The new value would be ns.email.ctrl.characters.regex=[\\x00-\\x09]|[\\x0B\\x0C]|[\\x0E\\x7F]|[\\x16-\\x1F]|[\\p\\p\\p\\p]|(&#(\\d)+;)
- Restart SBM Tomcat