No Code Attached Yet
avatar BrainforgeUK
BrainforgeUK
20 Apr 2024

Steps to reproduce the issue

Using Extensions: update (.../administrator/index.php?option=com_installer&view=update) attempt to update a plugin which relies up a third party component.

The plugin must be enabled.
Note: Error does not occur if the plugin is disabled.

The error occurs because the preparePreUpdate() function loads the plugin. This invokes the plugin constructor. In the example encountered the plugin assumes it has been loaded by that third party component, but of course in this case it is being loaded by com_installer.

Expected result

Sensible error message explaining where the problem is.

Actual result

Class XXXXXXXXXXXX not found error message.
Leaves updater wondering what its about.

System information (as much as possible)

PHP 8.2

Additional comments

Votes

# of Users Experiencing Issue
1/1
Average Importance Score
5.00

avatar BrainforgeUK BrainforgeUK - open - 20 Apr 2024
avatar BrainforgeUK BrainforgeUK - change - 20 Apr 2024
Labels Removed: ?
avatar joomla-cms-bot joomla-cms-bot - change - 20 Apr 2024
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 20 Apr 2024
avatar BrainforgeUK
BrainforgeUK - comment - 20 Apr 2024

Fixed in Pull Request #43321


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/43319.

avatar brianteeman
brianteeman - comment - 20 Apr 2024

Sure we've siad it before but if you intend to immediately create a pull request then there is no need to create an issue - it serves no purpose and just wastes maintainers time

avatar Quy Quy - close - 20 Apr 2024
avatar Quy Quy - change - 20 Apr 2024
Status New Closed
Closed_Date 0000-00-00 00:00:00 2024-04-20 15:08:03
Closed_By Quy

Add a Comment

Login with GitHub to post a comment