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

#__weblinks.description is text NOT NULL without a default value. WeblinkTable supports null values (_supportNullValue = true), and check() fills xreference, metakey, metadesc, images, metadata and params for new records, but not description. Creating a weblink without a description, e.g. through the web services API with only title, url and catid, therefore tries to insert NULL and fails with "Column 'description' cannot be null".

check() now also sets description to an empty string for new records when it is not set.

Testing Instructions

  • Enable the Web Services - Weblinks plugin and create an API token.
  • POST /api/index.php/v1/weblinks with {"title":"Test","url":"https://www.joomla.org","catid":<id>,"language":"*"}.

Expected result

The weblink is created.

Actual result

SQL error: Column 'description' cannot be null.

Documentation Changes Required

None

avatar Hackwar Hackwar - open - 27 Nov 2026

Add a Comment

Login with GitHub to post a comment