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 alias column of #__weblinks is varchar(400) on MySQL (since the 3.5.1 update, like the core tables), but varchar(255) on PostgreSQL. Saving a weblink with an alias longer than 255 characters works on MySQL but fails on PostgreSQL with "value too long for type character varying(255)".

This PR changes the PostgreSQL install SQL to varchar(400) and adds a 5.3.0 update that alters the column on existing sites.

The date defaults that also differ between the drivers are handled in #788.

Testing Instructions

  • On PostgreSQL, create a weblink and enter an alias longer than 255 characters.
  • Update an existing site and check the column type of alias (or System → Maintenance → Database).

Expected result

The weblink is saved; alias is varchar(400), no database problems are reported.

Actual result

SQL error: value too long for type character varying(255).

Documentation Changes Required

None

avatar Hackwar Hackwar - open - 27 Nov 2026
avatar Hackwar Hackwar - change - 27 Nov 2026
The description was changed
avatar Hackwar Hackwar - edited - 27 Nov 2026

Add a Comment

Login with GitHub to post a comment