? Release Blocker PR-5.0-dev Pending

User tests: Successful: Unsuccessful:

avatar wilsonge
wilsonge
26 Sep 2023

Fixes bug caused by #38914 which breaks table backups.

Summary of Changes

Table backups in installation are fixed with this patch

Note there might be a similar bug https://github.com/joomla/joomla-cms/blob/4.3-dev/installation/src/Helper/DatabaseHelper.php#L321 here where we reset the session objects. But I can't see us reusing the options so it's probably fine? Definitely needs another review

Testing Instructions

Steps to replicate the bug (thanks @brianteeman !!)

  1. install joomla with a db prefix of jos_
  2. on the final screen of the installer (where you get the link to site and admin) clear the cookies and delete configuration.php
  3. refresh the browser and you are back to the beginning of the installation
  4. enter EXACTLY the same values - especially the db prefix of jos_

Someone should probably validate that this doesn't break the cli installer too.

Actual result BEFORE applying this Pull Request

Error appears. null if you haven't got #41941 applied or a big list of errors if you do

Expected result AFTER applying this Pull Request

No errors and tables backed up

Link to documentations

Please select:

  • Documentation link for docs.joomla.org:

  • No documentation changes for docs.joomla.org needed

  • Pull Request link for manual.joomla.org:

  • No documentation changes for manual.joomla.org needed

avatar joomla-cms-bot joomla-cms-bot - change - 26 Sep 2023
Category Installation
avatar wilsonge wilsonge - open - 26 Sep 2023
avatar wilsonge wilsonge - change - 26 Sep 2023
Status New Pending
avatar wilsonge wilsonge - change - 26 Sep 2023
The description was changed
avatar wilsonge wilsonge - edited - 26 Sep 2023
avatar brianteeman brianteeman - test_item - 26 Sep 2023 - Tested successfully
avatar brianteeman
brianteeman - comment - 26 Sep 2023

I have tested this item ✅ successfully on 0818105


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

avatar wilsonge wilsonge - change - 26 Sep 2023
Title
[5.0] Fix installer never baking up old tables
[5.0] Fix installer never backing up old tables
avatar wilsonge wilsonge - edited - 26 Sep 2023
avatar richard67 richard67 - test_item - 27 Sep 2023 - Tested successfully
avatar richard67
richard67 - comment - 27 Sep 2023

I have tested this item ✅ successfully on 0818105


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

avatar richard67 richard67 - change - 27 Sep 2023
Status Pending Ready to Commit
Labels Added: Release Blocker PR-5.0-dev
avatar richard67
richard67 - comment - 27 Sep 2023

RTC


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

avatar HLeithner HLeithner - change - 27 Sep 2023
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2023-09-27 07:57:23
Closed_By HLeithner
Labels Added: ?
avatar HLeithner HLeithner - close - 27 Sep 2023
avatar HLeithner HLeithner - merge - 27 Sep 2023
avatar HLeithner
HLeithner - comment - 27 Sep 2023

thanks

Add a Comment

Login with GitHub to post a comment