No Code Attached Yet
avatar sousa9g
sousa9g
29 Jul 2024

Steps to reproduce the issue

When I updated my J4 site to J5, my new J5 site only had 02 mail templates (source: https://github.com/joomla/joomla-cms/blob/5.1-dev/administrator/components/com_admin/sql/updates/mysql/5.0.0-2023-09-02.sql#L8-L10)

However a clean Joomla 5 installation has about 30 email templates (source: https://github.com/joomla/joomla-cms/blob/5.1-dev/installation/sql/mysql/supports.sql#L411C1-L440C5)

Is it an update bug (missing entries in the SQL update file?)

Expected result

Actual result

System information (as much as possible)

Additional comments

avatar sousa9g sousa9g - open - 29 Jul 2024
avatar joomla-cms-bot joomla-cms-bot - change - 29 Jul 2024
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 29 Jul 2024
avatar brianteeman
brianteeman - comment - 29 Jul 2024

the updates folder contains the sql to be applied on updating your existing installation. So it will only contain records for mail templates that you do not already have.

By the sounds of it you have not upgraded Joomla with either the web based update component or the cli update commands ??

avatar richard67
richard67 - comment - 29 Jul 2024

The other mail templates should have been created when installing Joomla 4 or updating from Joomla 3.10 to 4. See e.g. administrator/components/com_admin/sql/updates/mysql/4.0.0-2019-03-09.sql , administrator/components/com_admin/sql/updates/mysql/4.0.0-2020-12-20.sql , administrator/components/com_admin/sql/updates/mysql/4.1.0-2021-11-20.sql , ...

These SQL script are there when on Joomla 4, and they are deleted when updating to Joomla 5.

avatar sousa9g sousa9g - close - 29 Jul 2024
avatar sousa9g
sousa9g - comment - 29 Jul 2024

Thanks for your feedback.

I upgraded using com_joomlaupdate, but I recalled my first upgrade attempt had errors and this issue could be a result of that, some updates did not run as expected I think.

avatar sousa9g sousa9g - change - 29 Jul 2024
Status New Closed
Closed_Date 0000-00-00 00:00:00 2024-07-29 23:00:46
Closed_By sousa9g

Add a Comment

Login with GitHub to post a comment