? ? Pending

User tests: Successful: 0 Unsuccessful: 0

avatar roland-d
roland-d
17 Aug 2022

Pull Request for Issue #38489.

Summary of Changes

When you have a login menu item and use that on a multi-lingual site, logging in will end in failure Argument must be of the type int

Testing Instructions

  1. Use a mutli-language site
  2. Create a menu item of the type Login
  3. Set the redirect to another menu item
  4. Try to login on the frontend
  5. You see the fatal error
  6. Apply patch
  7. Try to login again
  8. You are now redirected to the page set in the menu item

Actual result BEFORE applying this Pull Request

Fatal error on login on multi-language site

Expected result AFTER applying this Pull Request

User is logged in

Documentation Changes Required

None

Votes

# of Users Experiencing Issue
1/1
Average Importance Score
5.00

avatar roland-d roland-d - open - 17 Aug 2022
avatar roland-d roland-d - change - 17 Aug 2022
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 17 Aug 2022
Category Front End com_users
avatar brianteeman
brianteeman - comment - 17 Aug 2022

Third attempt at fixing the same problem :(

avatar roland-d
roland-d - comment - 17 Aug 2022

@brianteeman What did I do wrong?

avatar superknutsel
superknutsel - comment - 17 Aug 2022

tested succesfully


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

avatar superknutsel
superknutsel - comment - 17 Aug 2022

I have tested this item successfully on 8e29b77


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

avatar superknutsel superknutsel - test_item - 17 Aug 2022 - Tested successfully
avatar obuisard
obuisard - comment - 17 Aug 2022

@roland-d I have tried the patch wihout issue BUT I could not reproduce the problem in the first place

avatar roland-d
roland-d - comment - 17 Aug 2022

@obuisard Make sure you have correctly setup your multi-lingual site. Check that all plugins related to multi-lingual are enabled. If the multi-lingual check fails, the error will not be seen.

avatar cappuccinonet
cappuccinonet - comment - 17 Aug 2022

tested succesfully

avatar obuisard
obuisard - comment - 17 Aug 2022

@obuisard Make sure you have correctly setup your multi-lingual site. Check that all plugins related to multi-lingual are enabled. If the multi-lingual check fails, the error will not be seen.

Yes, all seems good, all plugins are enabled, and the site works as expected.

avatar richard67
richard67 - comment - 17 Aug 2022

tested succesfully

@cappuccinonet Please mark your test result in the issue tracker so it is properly counted. For doing this, go to https://issues.joomla.org/tracker/joomla-cms/38504 , click the blue "Test this" button at the top left corner, select your test e and submit. Thanks in advance.

avatar obuisard
obuisard - comment - 17 Aug 2022

tested successfully

Hello @cappuccinonet, please report your test in the issue tracker to report it. Thank you! Your help is appreciated.
https://issues.joomla.org/tracker/joomla-cms/38504

Sorry, I was not fast enough lol

avatar RickR2H
RickR2H - comment - 17 Aug 2022

I have tested this item successfully on 8e29b77


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

avatar RickR2H RickR2H - change - 17 Aug 2022
Status Pending Ready to Commit
avatar RickR2H
RickR2H - comment - 17 Aug 2022

RTC


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

avatar RickR2H RickR2H - test_item - 17 Aug 2022 - Tested successfully
avatar RickR2H
RickR2H - comment - 17 Aug 2022

@roland-d I set did set the tag to PR-4.3-dev. Please change if this is not correct!

avatar paternax
paternax - comment - 17 Aug 2022

I have tested this item successfully on 8e29b77


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

avatar paternax paternax - test_item - 17 Aug 2022 - Tested successfully
avatar RickR2H
RickR2H - comment - 17 Aug 2022

@paternax There where already 2 successful tests so this PR was set to RTC. Please make sure that you only test PR's which have none or one successful test. every extra test is a wast of time and has no effect. Thanks anyway for taking the time to test!

avatar richard67
richard67 - comment - 17 Aug 2022

@roland-d I set did set the tag to PR-4.3-dev. Please change id this is not correct!

@RickR2H As you should be able to see, the base branch of this PR is 4,.2-dev, and so it needs the PR-4.2-dev label. It should also be easy to see on GitHub which labels were removed by the issue tracker when setting RTC, and so you should add back only these.

avatar roland-d roland-d - change - 17 Aug 2022
Labels Added: ? ?
avatar bembelimen bembelimen - change - 17 Aug 2022
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2022-08-17 17:32:18
Closed_By bembelimen
avatar bembelimen bembelimen - close - 17 Aug 2022
avatar bembelimen bembelimen - merge - 17 Aug 2022
avatar bembelimen
bembelimen - comment - 17 Aug 2022

Thx

Add a Comment

Login with GitHub to post a comment