No Code Attached Yet
avatar Pinkeltje
Pinkeltje
21 May 2024

Steps to reproduce the issue

See #42353

Expected result

Is marked as solved

Actual result

Is not solved

System information (as much as possible)

Joomla 5.1

Additional comments

Language constante which is shown in email:
Constant: PLG_SYSTEM_ACTIONLOGS_CONTENT_UPDATED
Value: User <a href="{accountlink}">{username}</a> updated the {type} <a href="{itemlink}">{title}</a>

Somehow the tag {message} is not working correctly.

Mailtemplate:
2024-05-21 Screenshot 376

Actual email

Schermafbeelding 2024-05-21 142549

avatar Pinkeltje Pinkeltje - open - 21 May 2024
avatar joomla-cms-bot joomla-cms-bot - change - 21 May 2024
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 21 May 2024
avatar Pinkeltje Pinkeltje - change - 21 May 2024
The description was changed
avatar Pinkeltje Pinkeltje - edited - 21 May 2024
avatar Pinkeltje
Pinkeltje - comment - 29 May 2024

UPDATE:
This doesn't occur on a site that is updated from J4 to J5 or from J5.1.0 to J5.1.1.
But: when accessing System - Templates - Mail templates and opening (even without changing anything) User Actions Log: Notification Mail the same problem occurs.
Re-installing core files doesn't solve the issue.

Fresh install or update:
Schermafbeelding 2024-05-29 134848
Blurred. But links are present.

After opening mail template:
Schermafbeelding 2024-05-29 141535

avatar Pinkeltje
Pinkeltje - comment - 11 Jun 2024

Did some more digging and asked other users as well. As soon as mailtemplate is opened and saved, with or without changes, the changes are stored in the database (which makes sense). But then the received mail is wrong (see second attachment above). Deleting the record with the language tag restores the mail.
Only difference I see when I compare the com_actionlogs.notification record is that that is the only record that has the language constante COM_ACTIONLOGS_EMAIL_BODY in the field body as well as in the field htmlbody
2024-06-11 Screenshot 422

avatar WoodyF4u
WoodyF4u - comment - 14 Jul 2024

I also recognize this problem on a multilingual website.
It seems that the CMS only focuses on the set language that the super user uses in the back-end.
If something is published or edited for another language, the SU will receive an email with the constant instead of the neat text.
I also hope that the Joomla developers find a solution for this.

avatar Pinkeltje
Pinkeltje - comment - 11 Oct 2024

Any news on this?

Add a Comment

Login with GitHub to post a comment