?
avatar toivo
toivo
22 Dec 2020

Steps to reproduce the issue

Website running Beta6-dev of 22 December.
Download Joomla_3.9.24-rc-Release_Candidate-Update_Package.zip from Nightly Builds.
System - Update - Joomla - Upload & Update

Expected result

The update file is checked by com_joomlaupdate and rejected before the actual update starts running.

Actual result

The update starts running, progresses towards the end and finishes with PHP fatal error.

System information (as much as possible)

Windows 10, Wampserver 3.2.4
Apache 2.4.46a, MySQL 8.0.22, PHP 7.4.13

Additional comments

The last URL

http://joomla4/administrator/index.php?option=com_joomlaupdate&task=update.finalise&d3d5d2e88766f71d44f5b57c20af72af=1

Stack Trace
[22-Dec-2020 19:59:21 UTC] PHP Fatal error: Trait 'Joomla\Plugin\System\Webauthn\PluginTraits\AjaxHandler' not found in C:\www\joomla4\plugins\system\webauthn\webauthn.php on line 34
[22-Dec-2020 19:59:21 UTC] PHP Stack trace:
[22-Dec-2020 19:59:21 UTC] PHP 1. {main}() C:\www\joomla4\index.php:0
[22-Dec-2020 19:59:21 UTC] PHP 2. Joomla\CMS\Application\SiteApplication->execute() C:\www\joomla4\index.php:49
[22-Dec-2020 19:59:21 UTC] PHP 3. Joomla\CMS\Application\SiteApplication->doExecute() C:\www\joomla4\libraries\src\Application\CMSApplication.php:196
[22-Dec-2020 19:59:21 UTC] PHP 4. Joomla\CMS\Application\SiteApplication->initialiseApp() C:\www\joomla4\libraries\src\Application\SiteApplication.php:212
[22-Dec-2020 19:59:21 UTC] PHP 5. Joomla\CMS\Application\SiteApplication->initialiseApp() C:\www\joomla4\libraries\src\Application\SiteApplication.php:686
[22-Dec-2020 19:59:21 UTC] PHP 6. Joomla\CMS\Plugin\PluginHelper::importPlugin() C:\www\joomla4\libraries\src\Application\CMSApplication.php:625
[22-Dec-2020 19:59:21 UTC] PHP 7. Joomla\CMS\Plugin\PluginHelper::import() C:\www\joomla4\libraries\src\Plugin\PluginHelper.php:182
[22-Dec-2020 19:59:21 UTC] PHP 8. require_once() C:\www\joomla4\libraries\src\Plugin\PluginHelper.php:253

avatar toivo toivo - open - 22 Dec 2020
avatar joomla-cms-bot joomla-cms-bot - labeled - 22 Dec 2020
avatar toivo toivo - change - 22 Dec 2020
Title
[4.0][UX][PHP 7.4.13]J4 starts updating with update file for 3.9 and crashes
[4.0][UX][PHP 7.4.13]Joomla 4.0 starts updating with update file for 3.9 and crashes
avatar toivo toivo - edited - 22 Dec 2020
avatar toivo toivo - change - 22 Dec 2020
The description was changed
avatar toivo toivo - edited - 22 Dec 2020
avatar wilsonge
wilsonge - comment - 3 Jan 2021

Wait just to confirm here. You're uploading the 3.9 release into the 4.0 Joomla Update Component?

avatar brianteeman
brianteeman - comment - 3 Jan 2021

Yes thats how I read it and he is expecting the update to be rejected because its a lower version

avatar toivo
toivo - comment - 3 Jan 2021

The purpose is to stop odd issues from getting reported in the future when some users with Super User powers may want to revert the site to Joomla 3.9.x.

avatar brianteeman
brianteeman - comment - 3 Jan 2021

The only thing I can think of is a warning text on that page that Upload & Update can not be used to downgrade

avatar toivo
toivo - comment - 4 Jan 2021

@brianteeman - that would be good, a warning in red background will stop DIY webmasters from wrecking their sites.


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

avatar toivo
toivo - comment - 5 Mar 2021

This can now be closed. I do not see any option to close it myself.


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

avatar infograf768 infograf768 - change - 5 Mar 2021
Status New Closed
Closed_Date 0000-00-00 00:00:00 2021-03-05 10:27:27
Closed_By infograf768
avatar infograf768 infograf768 - close - 5 Mar 2021
avatar infograf768
infograf768 - comment - 5 Mar 2021

Anyone to propose a patch based on
#31758 (comment)

Add a Comment

Login with GitHub to post a comment