[5.0] Move the compatibility plugin from system to behaviour folder#41276
[5.0] Move the compatibility plugin from system to behaviour folder#41276HLeithner merged 3 commits intojoomla:5.0-devfrom
Conversation
This allows system plugins using the JPlugin class to still work with joomla 5.0 compatibility enabled
|
Please add scripts to remove the system plugin files |
|
not planing to do so, within alpha, only starting with beta1 to include an upgrade path |
|
This is wrong - makes the nightly builds pointless |
|
not true, they are for new installations and update from last stable version. |
|
not true but you clearly know best and are free to change the practices of the last few years. Perhaps you could point me to the place on the downbload page for nightly builds where it states that. From my reading of that document there is no mention of your assertion. |
We can break joomla installations beyond repair and in alpha version till beta1 of joomla 4 no upgrade policy exists. before this point in time even update breaks between rc and final exists (can't remember if this happend or not). any way alpha is for testing and not for wasting time to write update scripts for 10 users that might need them because they don't have backups. |
|
I have tested this item ✅ successfully on 71c7f5f This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/41276. |
|
thanks for testing |
- Deleted files and folders from PR joomla#41276 - Renamed file from PR joomla#41260
…oomla#41276) * Move the compatibility plugin from system to behaviour folder This allows system plugins using the JPlugin class to still work with joomla 5.0 compatibility enabled * Fix Language string * Fix SQL update scripts for compat plugin
…oomla#41276) * Move the compatibility plugin from system to behaviour folder This allows system plugins using the JPlugin class to still work with joomla 5.0 compatibility enabled * Fix Language string * Fix SQL update scripts for compat plugin
- Deleted files and folders from PR joomla#41276 - Renamed file from PR joomla#41260
These files and folders will be removed by the uninstallation of the plugin.
* Add deleted files and folders and renamed files - Deleted files and folders from PR #41276 - Renamed file from PR #41260 * Migrate enabled and params from old system plugin on update * Remove deleted files and folders from PR #41276 These files and folders will be removed by the uninstallation of the plugin. * Add exceptions to deleted file check script These files and folders will be removed by the uninstallation of the plugin and therefore should not be added to the lists of deleted files and folders. * Add deleted files and folders from PR #41289 * Add /media/plg_system_compat to exceptions * Remove /media/plg_system_compat deleted files and folders * Revert "Remove /media/plg_system_compat deleted files and folders" This reverts commit ea429a6. * Revert "Add /media/plg_system_compat to exceptions" This reverts commit 296febf.
This allows system plugins using the JPlugin class to still work with joomla 5.0 compatibility enabled
Pull Request for Issue when system plugins need JPlugin before the b/c plugin is loaded
Summary of Changes
Moved the plugin from the system folder to the behaviour folder which is the first folder loaded by the cms.
Testing Instructions
Use a system plugin which extends JPlugin.
Actual result BEFORE applying this Pull Request
Might not work
Expected result AFTER applying this Pull Request
Works now.