Details
-
Bug
-
Status: Closed
-
Resolution: Fixed
-
Master
-
7.3.x, 7.2.x, 7.1.x
-
Committed
Description
Description
Email notification of Web Content in workflow having property "To" empty.
Steps to reproduce
- Add the following properties to portal-ext.properties
[email protected] mail.send.blacklist=\ [email protected],\ [email protected],\ [email protected]
- Start Liferay
- Navigate to Control Panel > Configuration > Server Administration > Mail
- Setup mail SMTP settings
- Navigate to Control Panel > Configuration > Server Administration > Log Levels
- "com.liferay.petra.mail" set to DEBUG
- Navigate to default site > Content > Web Content
- Click info button > tri dot button > Edit
- Select "Single Approver" and save
- Add a Web Content and click "Submit for Publication"
- Check debug logs
Actual result
Property "To" is empty and mail application does not show any recipient.
2021-05-14 01:56:25.436 DEBUG [liferay/mail-1][MailEngine:208] To: []
Date: Fri, 14 May 2021 01:56:25 +0000 (GMT) From: Test Test <[email protected]> Message-ID: <[email protected]> Subject: MIME-Version: 1.0 Content-Type: text/html;charset="UTF-8" Content-Transfer-Encoding: 7bit X-Auto-Response-Suppress: AutoReply, DR, NDR, NRN, OOF, RN
Expected result
Property "To" contains the recipient's email address.
Reprodued in
DXP-22
7.1.x commit (dc9427cf51b7d3a728848498242261767fe6d09a)
Master commit (5e223c8b9f0215cb982ccf36e1fcf32db9ad262a)
Note
In the notification email when creating a user, the recipient is set to "To".
Please refer attached "DEBUG_create user.log".
2021-05-14 02:03:26.958 DEBUG [liferay/mail-1][MailEngine:208] To: [1 user <[email protected]>]
Date: Fri, 14 May 2021 02:03:26 +0000 (GMT) From: Test Test <[email protected]> To: 1 user <[email protected]> Message-ID: <[email protected]> Subject: http://localhost:8080: Your New Account MIME-Version: 1.0 Content-Type: text/html;charset="UTF-8" Content-Transfer-Encoding: 7bit X-Auto-Response-Suppress: AutoReply, DR, NDR, NRN, OOF, RN
Attachments
Issue Links
- is caused by
-
LPS-85097 Allow mobile notifications for workflow tasks
-
- Closed
-