? ? Pending

User tests: Successful: Unsuccessful:

avatar joomdonation
joomdonation
24 Jun 2022

Pull Request for Issue # .

Summary of Changes

PR #38060 removed $app property from the class, so using $this->app in the layout causes fatal error. We need to use $this->getApplication() to get application object instead.

I also removed an un-used use statement in the plugin layout code.

Testing Instructions

I don't have experience with using the plugin, so please ignore if my testing instructions are wrong

  1. Use Joomla 4.2 nightly build
  2. Make sure Multi-factor Authentication - Web Authentication plugin is enabled
  3. Login to administrator area of your site, edit an user account, look at Multi-factor Authentication tab, click on Add a new Web Authentication button.

Actual result BEFORE applying this Pull Request

Get fatal error: Call to a member function getDocument() on null

Expected result AFTER applying this Pull Request

Error is gone, the page loads OK

avatar joomdonation joomdonation - open - 24 Jun 2022
avatar joomdonation joomdonation - change - 24 Jun 2022
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 24 Jun 2022
Category Front End Plugins
avatar heelc29 heelc29 - test_item - 24 Jun 2022 - Tested successfully
avatar heelc29
heelc29 - comment - 24 Jun 2022

I have tested this item successfully on a5042e1


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

avatar richard67 richard67 - test_item - 26 Jun 2022 - Tested successfully
avatar richard67
richard67 - comment - 26 Jun 2022

I have tested this item successfully on a5042e1


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

avatar richard67 richard67 - change - 26 Jun 2022
Labels Added: ?
avatar richard67
richard67 - comment - 26 Jun 2022

RTC


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

avatar richard67 richard67 - change - 26 Jun 2022
Status Pending Ready to Commit
avatar richard67
richard67 - comment - 26 Jun 2022

RTC !!!


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

avatar richard67 richard67 - change - 26 Jun 2022
Labels Added: ?
avatar laoneo laoneo - change - 26 Jun 2022
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2022-06-26 12:47:39
Closed_By laoneo
avatar laoneo laoneo - close - 26 Jun 2022
avatar laoneo laoneo - merge - 26 Jun 2022
avatar laoneo
laoneo - comment - 26 Jun 2022

Thanks!

Add a Comment

Login with GitHub to post a comment