Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Action log email article #43503

Open
Pinkeltje opened this issue May 21, 2024 · 4 comments
Open

Action log email article #43503

Pinkeltje opened this issue May 21, 2024 · 4 comments

Comments

@Pinkeltje
Copy link

Pinkeltje commented May 21, 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

@Pinkeltje
Copy link
Author

Pinkeltje commented May 29, 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

@Pinkeltje
Copy link
Author

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

@WoodyF4u
Copy link

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.

@Pinkeltje
Copy link
Author

Any news on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants