Pending

User tests: Successful: Unsuccessful:

avatar Hackwar
Hackwar
27 Nov 2026

Pull Request for Issue # .

  • 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.

This change was created with the help of AI (Claude Code).

Summary of Changes

The table column of the com_weblinks.weblink and com_weblinks.category content types contains "common": {..., "prefix": "JTable"}, the legacy J3 class alias. The 5.1.0 (MySQL and PostgreSQL) and 5.2.0 (PostgreSQL) updates tried to replace it, but use the path dbtable.prefix / {dbtable,prefix}. There is no top level dbtable key, so this part of the update never changed anything.

This PR:

  • changes the install SQL for MySQL and PostgreSQL to use Joomla\CMS\Table\ for common.prefix
  • adds a 5.3.0 update for both drivers that sets common.prefix correctly on existing sites

The existing update files are left untouched, their dbtable.prefix part is a harmless no-op.

Testing Instructions

  • Install Weblinks 5.2.1 and check the table column of the two weblinks rows in #__content_types: common.prefix is JTable.
  • Update to a package built from this branch.
  • Check the column again. Also test a fresh install.

Expected result

common.prefix is Joomla\CMS\Table\ for both rows, after update and on a fresh install.

Actual result

common.prefix stays JTable.

Documentation Changes Required

None

avatar Hackwar Hackwar - open - 27 Nov 2026

Add a Comment

Login with GitHub to post a comment