? Pending

User tests: Successful: Unsuccessful:

avatar SharkyKZ
SharkyKZ
17 Sep 2019

Summary of Changes

Fixes error when setting a language option in new user form.

Testing Instructions

Install 2 or more languages.
When creating a new user in backend select a language other than the default language in Backend Language field.
Save the user.

Expected result

User is saved and receives an email in selected language.

Actual result

Call to undefined method Joomla\CMS\Language\Language::setLanguage()

Documentation Changes Required

No.

avatar SharkyKZ SharkyKZ - open - 17 Sep 2019
avatar SharkyKZ SharkyKZ - change - 17 Sep 2019
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 17 Sep 2019
Category Front End Plugins
avatar SharkyKZ SharkyKZ - change - 17 Sep 2019
Title
Fix creating user with specific language
[4.0] Fix creating user with specific language
avatar SharkyKZ SharkyKZ - edited - 17 Sep 2019
avatar infograf768
infograf768 - comment - 17 Sep 2019

Backend default language set to English.
Create a new user with French as default language
Before this patch I have another error than the one above.
Call to a member function addLog() on bool

EDIT: same after patch.

avatar SharkyKZ
SharkyKZ - comment - 17 Sep 2019

@infograf768 Not related. Please open a new issue.

avatar infograf768
infograf768 - comment - 17 Sep 2019

I can't test your PR because of that error.

avatar infograf768 infograf768 - test_item - 17 Sep 2019 - Tested successfully
avatar infograf768
infograf768 - comment - 17 Sep 2019

I have tested this item successfully on 0c3af5d

No more issue on J clean install. Works fine.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/26341.

avatar wilsonge wilsonge - change - 17 Sep 2019
Status Pending Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2019-09-17 10:47:17
Closed_By wilsonge
Labels Added: ?
avatar wilsonge wilsonge - close - 17 Sep 2019
avatar wilsonge wilsonge - merge - 17 Sep 2019
avatar wilsonge
wilsonge - comment - 17 Sep 2019

Thanks!

Add a Comment

Login with GitHub to post a comment