Release Blocker bug PR-4.4-dev Pending

User tests: Successful: Unsuccessful:

avatar richard67
richard67
25 Sep 2023

Pull Request for Issue #41911 .

Summary of Changes

Use the $document variable which is assigned a few lines above the change of this PR where we already have the result of a $this->getApplication()->getDocument() call, so it doesn't need the $app = Factory::getApplication(); which causes the exception due to a missing use statement, and it doesn't need the $app->getDocument().

Same fix as done with PR #41073 in the 5.0-dev branch for issue #41072 .

Testing Instructions

Use a current 4.4-dev branch or a 4.4.0-beta2.

  1. Set up Multi Factor Authentication with Web Authentication as default method for a user.
  2. Log out from backend.
  3. Try to log-in again with this user and click on button "Validate with your Authenticator".

Actual result BEFORE applying this Pull Request

See issue #41911 .

Expected result AFTER applying this Pull Request

The user gets logged in after entering their PIN.

Link to documentations

Please select:

  • No documentation changes for docs.joomla.org needed

  • No documentation changes for manual.joomla.org needed

avatar joomla-cms-bot joomla-cms-bot - change - 25 Sep 2023
Category Front End Plugins
avatar richard67 richard67 - open - 25 Sep 2023
avatar richard67 richard67 - change - 25 Sep 2023
Status New Pending
avatar richard67 richard67 - change - 25 Sep 2023
The description was changed
avatar richard67 richard67 - edited - 25 Sep 2023
avatar Fedik Fedik - test_item - 25 Sep 2023 - Tested successfully
avatar Fedik
Fedik - comment - 25 Sep 2023

I have tested this item ✅ successfully on 2219b73

Code review, it is a fix of an obvious mistake


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

avatar richard67
richard67 - comment - 25 Sep 2023

Drone complains about a code style error (unnecessary use statement) at a place which I haven't changed with this PR. Will fix it anyway.

Update: I see, it became obsolete due to my removal of the code including the /** @var CMSApplication $app */ comment.

avatar richard67 richard67 - change - 25 Sep 2023
Labels Added: Release Blocker bug PR-4.4-dev
avatar richard67 richard67 - alter_testresult - 25 Sep 2023 - Fedik: Tested successfully
avatar wilsonge wilsonge - close - 25 Sep 2023
avatar wilsonge wilsonge - merge - 25 Sep 2023
avatar wilsonge wilsonge - change - 25 Sep 2023
Status Pending Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2023-09-25 11:51:34
Closed_By wilsonge
avatar dautrich dautrich - test_item - 25 Sep 2023 - Tested successfully
avatar dautrich
dautrich - comment - 25 Sep 2023

I have tested this item ✅ successfully on 1766e12


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

avatar dautrich
dautrich - comment - 25 Sep 2023

@richard67 .... und noch viele Grüße aus dem Main-Kinzig-Kreis an die Bergstraße!!!

Add a Comment

Login with GitHub to post a comment