RTC Release Blocker bug PR-5.1-dev Pending

User tests: Successful: Unsuccessful:

avatar richard67
richard67
28 Mar 2024

Pull Request for Issue # .

Summary of Changes

The update SQL script administrator/components/com_admin/sql/updates/postgresql/5.1.0-2024-03-08.sql introduced with PR #41659 contains 2 syntax errors which cause updating to 5.1 fail with PostgreSQL.

INSERT IGNORE is MySQL/MariaDB syntax which does not work on PostgreSQL. The same thing is already achieved with the ON CONFLICT DO NOTHING at the end of the statement for PostgreSQL.

Testing Instructions

Code review by a PostgreSQL expert, of update to the latest 5.1 nightly build for the actual result, and to the patched package or custom update URL created by Drone for this PR for the expected result, using a PostgreSQL database.

Actual result BEFORE applying this Pull Request

2024-03-28_pg-error

Expected result AFTER applying this Pull Request

Update succeeds (or at least does not show an SQL error).

Link to documentations

Please select:

  • No documentation changes for docs.joomla.org needed

  • No documentation changes for manual.joomla.org needed

avatar richard67 richard67 - open - 28 Mar 2024
avatar richard67 richard67 - change - 28 Mar 2024
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 28 Mar 2024
Category Postgresql SQL Administration com_admin
avatar richard67 richard67 - change - 28 Mar 2024
The description was changed
avatar richard67 richard67 - edited - 28 Mar 2024
avatar richard67 richard67 - change - 28 Mar 2024
Title
[5.1] Fix SQL syntax error when updating from 4.4 to 5.1 on PostgreSQL
[5.1] Fix SQL syntax error when updating to 5.1 on PostgreSQL
avatar richard67 richard67 - edited - 28 Mar 2024
avatar richard67 richard67 - change - 28 Mar 2024
Labels Added: Release Blocker bug PR-5.1-dev
avatar heelc29 heelc29 - test_item - 28 Mar 2024 - Tested successfully
avatar heelc29
heelc29 - comment - 28 Mar 2024

I have tested this item ✅ successfully on 3b6af99

image


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/43175.
avatar MacJoom MacJoom - test_item - 28 Mar 2024 - Tested successfully
avatar MacJoom
MacJoom - comment - 28 Mar 2024

I have tested this item ✅ successfully on 3b6af99

Tested update from a a beta 1 to a nightly build before which resulted in the error. Update successful with this patch


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

avatar richard67 richard67 - change - 28 Mar 2024
Status Pending Ready to Commit
avatar richard67
richard67 - comment - 28 Mar 2024

RTC


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

avatar LadySolveig LadySolveig - change - 28 Mar 2024
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2024-03-28 19:08:35
Closed_By LadySolveig
Labels Added: RTC
avatar LadySolveig LadySolveig - close - 28 Mar 2024
avatar LadySolveig LadySolveig - merge - 28 Mar 2024
avatar LadySolveig
LadySolveig - comment - 28 Mar 2024

Thank you @richard67 and also for testing @heelc29 @MacJoom

Add a Comment

Login with GitHub to post a comment