Foros de discusión

Workflow Notification: Approval Granted instead of Review Requested

thumbnail
Irina Russkaya, modificado hace 6 años.

Workflow Notification: Approval Granted instead of Review Requested

Junior Member Mensajes: 44 Fecha de incorporación: 2/12/16 Mensajes recientes
Is it a bug that JournalArticleLocalServiceImpl sends instead of Review Requested email an Approval Granted email.

In JournalArticleLocalServiceImpl code line 7670 (Lifereay 7 GA3, but in GA4 7513 is the same) in sendEmail()

else if (emailType.equals("granted")) {
			localizedSubjectMap = LocalizationUtil.getMap(
				journalGroupServiceConfiguration.
					emailArticleApprovalGrantedSubject());
			localizedBodyMap = LocalizationUtil.getMap(
				journalGroupServiceConfiguration.
					emailArticleApprovalGrantedBody());
		}
		else if (emailType.equals("requested")) {
			localizedSubjectMap = LocalizationUtil.getMap(
				journalGroupServiceConfiguration.
					[b]emailArticleApprovalGrantedSubject[/b]());
			localizedBodyMap = LocalizationUtil.getMap(
				journalGroupServiceConfiguration.
					[b]emailArticleApprovalGrantedBody[/b]());
		}


so in both cases the same subject and body. This is not right.

Can we create an issue?
thumbnail
Irina Russkaya, modificado hace 6 años.

RE: Workflow Notification: Approval Granted instead of Review Requested

Junior Member Mensajes: 44 Fecha de incorporación: 2/12/16 Mensajes recientes
Thank you for the issue opening.

https://issues.liferay.com/browse/LPS-73362