Feature No Code Attached Yet
avatar embar-
embar-
8 Jan 2024

Steps to reproduce the issue

  1. Have installed Joomla 3.10 with enabled plugins, having incompatibilities in later versions (4, 5), like
  • JD Social Share (uses JRequest::getVar)
  • Regular Labs (uses JEventDispatcher)
  • com_search (uses JEventDispatcher)
  • AllediaFramework (uses JEventDispatcher)
  1. Do upgrade to Joomla 4.4

Expected result

Joomla notify these incompatibilities and automatically disable during upgrade if not removed

Actual result

Incompatible/deprecated functions (e.g. JEventDispatcher, JRequest) from external modules/plugins/extensions break Joomla after upgrade.

System information (as much as possible)

Joomla 3.10 upgrade to 4.4

Additional comments

Proposal to enhance Upgrade procedure:

  • Make list of deprecated function (e.g. JEventDispatcher, JRequest).
  • Prior upgrade test scan all source code of website and inspect modules having obsolete functions
  • Propose to disable or remove identified modules/plugins/extensions and name/notify them.
  • Additionally send names with versions to Joomla database to mark these modules as incompatible for upgrade for others (users and developers) to know too; this database could be more reliable source for flagging modules not with warning, but with exact info/problem for no-go of upgrade with them enabled.
  • Even if user decides not to remove these blamed modules/plugins/extensions, disable them during upgrade.

Votes

# of Users Experiencing Issue
2/2
Average Importance Score
4.50

avatar embar- embar- - open - 8 Jan 2024
avatar embar- embar- - change - 8 Jan 2024
Labels Removed: ?
avatar joomla-cms-bot joomla-cms-bot - change - 8 Jan 2024
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 8 Jan 2024
avatar embar-
embar- - comment - 8 Jan 2024

files having JEventDispatcher function after upgrade from 3.9 to 4.4screen shot 2024-01-08 at 15 59 59


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

avatar alikon
alikon - comment - 8 Jan 2024

before the update there is already a Pre Update check with information about extensions compatibility
https://docs.joomla.org/J3.x:Pre-Update_Check

avatar embar-
embar- - comment - 8 Jan 2024

Pre Update Check is nice, but it could be improved:

avatar micker
micker - comment - 8 Jan 2024

Cool propose !

avatar embar- embar- - change - 8 Jan 2024
The description was changed
avatar embar- embar- - edited - 8 Jan 2024
avatar embar- embar- - change - 8 Jan 2024
The description was changed
avatar embar- embar- - edited - 8 Jan 2024
avatar alikon alikon - change - 8 Jan 2024
Labels Added: Feature
avatar alikon alikon - labeled - 8 Jan 2024
avatar embar- embar- - change - 8 Jan 2024
The description was changed
avatar embar- embar- - edited - 8 Jan 2024
avatar Hackwar Hackwar - close - 24 Jan 2024
avatar Hackwar Hackwar - change - 24 Jan 2024
Status New Closed
Closed_Date 0000-00-00 00:00:00 2024-01-24 07:39:46
Closed_By Hackwar
avatar Hackwar
Hackwar - comment - 24 Jan 2024

Thank you for your proposal, but again, this is not a trivial task to find out if an extension is compatible. We already provided the pre-update-check to give you hints, but the final decision has to be made by the user themselfs. Besides all of that, this would also be a new feature for Joomla 4.4 or even 3.10 and 4.4 is only in bugfix mode and 3.10 isn't supported at all. So because of this, I'm going to have to deny this feature request.

Add a Comment

Login with GitHub to post a comment