PR-5.4-dev Pending

User tests: Successful: Unsuccessful:

avatar BrainforgeUK
BrainforgeUK
7 Sep 2025

Added handling of onInstallerBeforePackageDownload event responses.

Pull Request for Issue # .

Summary of Changes

Allow the following events to return an empty url:

  • onInstallerBeforePackageDownload
  • onInstallerBeforeUpdateSiteDownload

Added the following error handling event:

  • onInstallerPackageDownloadFailed

Testing Instructions

Install the attached plg_installation_test.zip
The code explains how to use the new functionality.
Enable the plugin to cause all extension updates to fail and illustrate the resulting error messages.

Actual result BEFORE applying this Pull Request

N/A

Expected result AFTER applying this Pull Request

The new behaviour as described in testing instructions.
All existing plg_installation_**** plugins behave as previous.
plg_installation_test.zip

Link to documentations

Please select:

  • Documentation link for docs.joomla.org:

  • [*] No documentation changes for docs.joomla.org needed

  • Pull Request link for manual.joomla.org:

  • [* ] No documentation changes for manual.joomla.org needed

Recommend adding instructions to manual.joomla.org to describe these features.
Derive these documentaion changes from the comments in plg_installation_test .

avatar BrainforgeUK BrainforgeUK - open - 7 Sep 2025
avatar BrainforgeUK BrainforgeUK - change - 7 Sep 2025
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 7 Sep 2025
Category Libraries
avatar BrainforgeUK BrainforgeUK - change - 7 Sep 2025
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2025-09-07 15:18:12
Closed_By BrainforgeUK
Labels Added: PR-5.4-dev
avatar BrainforgeUK BrainforgeUK - close - 7 Sep 2025

Add a Comment

Login with GitHub to post a comment