No Code Attached Yet
avatar dawe78
dawe78
11 May 2022

Steps to reproduce the issue

Frontend: go to "send username" and send form.

Expected result

Mail contains proper text with replaced placeholders

Actual result

Mailtext still contains placeholder {site} and {siteurl}

System information (as much as possible)

Joomla 4.13
PHP 7.4

Additional comments

The language file "de-DE/com_users.ini" contains old placeholders. Joomla has changed placeholder {site} (old) to {sitename} (new) but not all language strings were updated yet, eg. COM_USERS_EMAIL_USERNAME_REMINDER_BODY. Language file has to be updated for proper reminder mails.

Another issue is that array key "siteurl" is not set eg in RemindModel.php (line 180+), but placeholder is used in language string and should be replaced.

avatar dawe78 dawe78 - open - 11 May 2022
avatar joomla-cms-bot joomla-cms-bot - change - 11 May 2022
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 11 May 2022
avatar brianteeman
brianteeman - comment - 11 May 2022
avatar heelc29
heelc29 - comment - 11 May 2022
avatar tecpromotion
tecpromotion - comment - 11 May 2022

@dawe78 please use https://github.com/joomlagerman/joomla/issues for german only issues. Thanks.
Please close the issue.

avatar alikon alikon - change - 11 May 2022
Status New Closed
Closed_Date 0000-00-00 00:00:00 2022-05-11 10:56:46
Closed_By alikon
avatar alikon alikon - close - 11 May 2022
avatar alikon
alikon - comment - 11 May 2022

closed as requested

avatar dawe78
dawe78 - comment - 11 May 2022

@tecpromotion Okay, I will open a new issue for joomla german, but one thing I reported is not only related to joomla german. In all language files the placeholder siteurl is used, eg. for username reminder, but this array key is not set in RemindModel.php of com_users. So this has to be fixed too. Should I open another issue or open this one again?

avatar tecpromotion
tecpromotion - comment - 11 May 2022

@tecpromotion Okay, I will open a new issue for joomla german, but one thing I reported is not only related to joomla german. In all language files the placeholder siteurl is used, eg. for username reminder, but this array key is not set in RemindModel.php of com_users. So this has to be fixed too. Should I open another issue or open this one again?

Please see joomlagerman/joomla#2443
A new issue in the joomlagerman repo is not necessary.

And yes, please open a new issue for the other issue if this is still a bug.

Another issue is that array key "siteurl" is not set eg in RemindModel.php (line 180+), but placeholder is used in language string and should be replaced.

Add a Comment

Login with GitHub to post a comment