Pending

User tests: Successful: Unsuccessful:

avatar narang24
narang24
22 Mar 2026

Pull Request resolves #47447

  • I read the Generative AI policy and my contribution is either not created with the help of AI or is compatible with the policy and GNU/GPL 2 or later.

Summary of Changes

Replaced INSERT INTO with INSERT IGNORE INTO in com_finder indexer to prevent duplicate term insertion errors from terminating the indexing process.

Testing Instructions

Index content where two items share a normalised term (e.g. "Sueño Stereo" that strips to an already existing term).

Actual result BEFORE applying this Pull Request

Index creation may terminate with a duplicate entry error for idx_term_language.

Expected result AFTER applying this Pull Request

Duplicate entries are ignored and indexing completes successfully.

Link to documentations

Please select:

  • Documentation link for guide.joomla.org:

  • No documentation changes for guide.joomla.org needed

  • Pull Request link for manual.joomla.org:

  • No documentation changes for manual.joomla.org needed

avatar narang24 narang24 - open - 22 Mar 2026
avatar narang24 narang24 - change - 22 Mar 2026
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 22 Mar 2026
Category Administration com_finder
avatar richard67
richard67 - comment - 23 Mar 2026

„Insert ignore“ is MySQL and MariaDB syntax. On PostgreSQL this causes an SQL syntax error. As Joomla also supports PostgreSQL, this PR cannot be accepted as it is.

See https://www.postgresql.org/docs/current/sql-insert.html

This might also be the reason why system tests with PostgreSQL are failing.

avatar richard67
richard67 - comment - 23 Mar 2026

Besides my previous comment, I don’t think this is the right fix. It would circumvent the issue but not fix the root cause.

Add a Comment

Login with GitHub to post a comment