PR-4.4-dev Pending

User tests: Successful: Unsuccessful:

avatar wilsonge
wilsonge
19 Sep 2023

This comes from #38949.

Summary of Changes

Adds an exception interface that can be used by components looking to use exceptions rather than LegacyErrorTrait. We want to add this into an earlier version as possible (i.e. J4) so as we roll out exceptions in j5. extension developers can still catch these exceptions in J4 and require 4.4 or higher.

Testing Instructions

N/A Review class is present. See sample code in linked PR but we will not use this interface until 5.x in core.

Link to documentations

This will be documented once the exceptions have been created for J5 and a note will be added to those docs that exception handling can be ported into extensions and still be 4.4 compatible

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

avatar joomla-cms-bot joomla-cms-bot - change - 19 Sep 2023
Category Libraries
avatar wilsonge wilsonge - open - 19 Sep 2023
avatar wilsonge wilsonge - change - 19 Sep 2023
Status New Pending
avatar wilsonge wilsonge - change - 19 Sep 2023
Labels Added: PR-4.4-dev
avatar HLeithner HLeithner - change - 20 Sep 2023
Status Pending Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2023-09-20 09:21:18
Closed_By HLeithner
avatar HLeithner HLeithner - close - 20 Sep 2023
avatar HLeithner HLeithner - merge - 20 Sep 2023
avatar HLeithner
HLeithner - comment - 20 Sep 2023

thanks

Add a Comment

Login with GitHub to post a comment