? ? Maintainers Checked Pending

User tests: Successful: Unsuccessful:

avatar joomdonation
joomdonation
19 Nov 2022

Pull Request for Issue #38720.

Summary of Changes

This PR fix issue described in #38720.

Testing Instructions

  1. Prepare a multilingual website
  2. Create a menu item link to Login Form menu item type. In that menu item, set Logout Redirect parameter to any menu item
  3. Access to that menu item to login
  4. After logged in, access to that menu item again and click on Logout button

Actual result BEFORE applying this Pull Request

You get fatal error, something like:

Joomla\Component\Users\Site\Model\LoginModel::getMenuLanguage(): Argument #1 ($id) must be of type int, string given....

Expected result AFTER applying this Pull Request

No error. You are being redirected to the selected menu item on logout.

avatar joomdonation joomdonation - open - 19 Nov 2022
avatar joomdonation joomdonation - change - 19 Nov 2022
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 19 Nov 2022
Category Front End com_users
avatar viocassel viocassel - test_item - 21 Nov 2022 - Tested successfully
avatar viocassel
viocassel - comment - 21 Nov 2022

I have tested this item successfully on d0c6b58


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

avatar alikon alikon - test_item - 26 Nov 2022 - Tested successfully
avatar alikon
alikon - comment - 26 Nov 2022

I have tested this item successfully on d0c6b58


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

avatar richard67 richard67 - change - 26 Nov 2022
Status Pending Ready to Commit
Labels Added: ? Maintainers Checked
avatar richard67
richard67 - comment - 26 Nov 2022

RTC


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

avatar laoneo laoneo - change - 28 Nov 2022
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2022-11-28 09:03:03
Closed_By laoneo
Labels Added: ?
avatar laoneo laoneo - close - 28 Nov 2022
avatar laoneo laoneo - merge - 28 Nov 2022
avatar laoneo
laoneo - comment - 28 Nov 2022

Thank you!

avatar funartist
funartist - comment - 13 Dec 2022

Thank you!

Add a Comment

Login with GitHub to post a comment