? Pending

User tests: Successful: Unsuccessful:

avatar richard67
richard67
14 May 2021

Pull Request for #33751 (comment) .

Summary of Changes

  1. Fix the outdated params values for the Cassiopeia template style in the base.sql files for new installation so they match to the default values in the XML file, including the changes from #33751 , #31520 and possibly others.
  2. Create the template style in the update SQL 4.0.0-2016-10-02.sql with the same params values when updating from 3.10.

To be done

I have to check if it needs to do something for updates from previous J4 Beta versions. But this will be done with another PR, if necessary.

Testing Instructions

Please wait with testing. I might replace this PR by another, new one with a slightly different solution.

Test 1: New installation

Step 1: Use current 4.0-dev or the nightly build from tomorrow or later to make a new installation.

Step 2: After the installation has finished, do not do anything else in backend.

Step 3: In frontend, check if the blue header section is shown.

Result: No blue header section.

Step 4: Apply the changes from this PR.

Step 5: Remove configuration.php and delete all database tables.

Repeat steps 1 to 3.

Result: Blue header section with logo "Cassiopeia" and no site description is shown, like it was before PR #33751 was merged.

Test 2: Update from 3.10

Step 1: Update a current 3.10-dev or latest 3.10 nightly to the current 4.0-dev branch, which includes the merged PR #33751 .

Because there is no nightly build available with that yet, you have to use the following update package:

https://test5.richard-fath.de/Joomla_4.0.0-beta8-dev-Development-Update_Package_2021-05-14_20-22.zip

Step 2: After the update has finished, do not do anything else in backend.

Step 3: In frontend, check if the blue header section is shown.

Result: No blue header section.

Repeat steps 1 to 3, again starting with current 3.10-dev or latest 3.10 nightly, but this time update to the custom update URL or update package built by drone for this PR.

Result: Blue header section with logo "Cassiopeia" and no site description is shown, like it was before PR #33751 was merged.

Actual result BEFORE applying this Pull Request

No blue header section with logo in frontend after a new installation or update from 3.10 without having saved template style settings.

See #33751 (comment) .

Expected result AFTER applying this Pull Request

Site shows the header with logo "Cassiopeia" on frontend after a new installation or update from 3.10 without having saved template style settings.

Documentation Changes Required

None.

avatar richard67 richard67 - open - 14 May 2021
avatar richard67 richard67 - change - 14 May 2021
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 14 May 2021
Category SQL Administration com_admin Postgresql Installation
avatar richard67 richard67 - change - 14 May 2021
The description was changed
avatar richard67 richard67 - edited - 14 May 2021
avatar richard67 richard67 - change - 14 May 2021
The description was changed
avatar richard67 richard67 - edited - 14 May 2021
avatar richard67 richard67 - change - 14 May 2021
The description was changed
avatar richard67 richard67 - edited - 14 May 2021
avatar richard67 richard67 - change - 14 May 2021
The description was changed
avatar richard67 richard67 - edited - 14 May 2021
avatar richard67 richard67 - change - 14 May 2021
The description was changed
avatar richard67 richard67 - edited - 14 May 2021
avatar richard67 richard67 - change - 14 May 2021
The description was changed
avatar richard67 richard67 - edited - 14 May 2021
avatar richard67 richard67 - change - 14 May 2021
The description was changed
avatar richard67 richard67 - edited - 14 May 2021
avatar richard67 richard67 - change - 14 May 2021
The description was changed
avatar richard67 richard67 - edited - 14 May 2021
avatar richard67 richard67 - change - 14 May 2021
Title
[4.0] [WiP] Fix Cassiopeia template style parameters in database on new installation and update from 3.10
[4.0] Fix Cassiopeia template style parameters in database on new installation and update from 3.10
avatar richard67 richard67 - edited - 14 May 2021
avatar richard67 richard67 - change - 17 May 2021
The description was changed
avatar richard67 richard67 - edited - 17 May 2021
avatar richard67 richard67 - change - 17 May 2021
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2021-05-17 11:39:50
Closed_By richard67
Labels Added: ?
avatar richard67
richard67 - comment - 17 May 2021

Closing in favour or #33930 . Please test.

avatar richard67 richard67 - close - 17 May 2021

Add a Comment

Login with GitHub to post a comment