Release Blocker ? Pending

User tests: Successful: Unsuccessful:

avatar laoneo
laoneo
30 Jun 2022

Summary of Changes

As pointed out in #38060 and #38153 changing a view template file can cause an update issue. Despite it is not part of our BC policy. So this pr reverts the changes in it, to not cause any issue when web sites do an upgrade to 4.2 and have an override for plugins/multifactorauth/webauthn/tmpl/default.php.

Testing Instructions

Run the testing instructions from #38132.

Actual result BEFORE applying this Pull Request

All works.

Expected result AFTER applying this Pull Request

All works.

avatar laoneo laoneo - open - 30 Jun 2022
avatar laoneo laoneo - change - 30 Jun 2022
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 30 Jun 2022
Category Front End Plugins
avatar laoneo laoneo - change - 30 Jun 2022
Labels Added: ?
avatar laoneo laoneo - change - 1 Jul 2022
Labels Added: Release Blocker
avatar Fedik
Fedik - comment - 1 Jul 2022

Now I really confused ?

So this pr reverts the changes in it, to not cause any issue when web sites do an upgrade to 4.2 and have an override for plugins/multifactorauth/webauthn/tmpl/default.php.

multifactorauth is a new feature in 4.2, there cannot be such fail,
What we talked in adjacent issues, is that it can affect other plugins which use similar approach ?

And we got conclusion, kind of: that it better to define $app property, if it not defined and plugin has getApplication().
Kind of this #38177, but with override for setApplication().
As workaround untill j5, then we drop it.

I can try prepare PR, sometime.

avatar richard67
richard67 - comment - 1 Jul 2022

multifactorauth is a new feature in 4.2, there cannot be such fail

@Fedik Not a completely new feature. It replaces the 2 factor auth and so has some kind of a migration path from that. But you are right, there should not be any override (except if people update from previous 4.2 alpha or beta versions and had such).

avatar laoneo laoneo - change - 1 Jul 2022
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2022-07-01 11:12:00
Closed_By laoneo
avatar laoneo
laoneo - comment - 1 Jul 2022

Ok, then I close it. Not sure what I found at that time in the 4.1 branch.

avatar laoneo laoneo - close - 1 Jul 2022

Add a Comment

Login with GitHub to post a comment